UA Bundle SDK .NET  2.1.2.227
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaServer.NotifierManager Class Reference

Manages the notifier heirarchy for a node manager. More...

Public Member Functions

 NotifierManager (ServerManager server, IEventManager eventManager, INotifierManagerCallback callback)
 Initializes a new instance of the CrossReferenceManager class. More...
 
void AddNotifier (NodeId notifierId, IList< NodeId > parentNotifierIds)
 Adds the remote notifier source. More...
 
void RemoveNotifier (NodeId notifierId)
 Removes the remote notifier source. More...
 
void AddNotifier (NodeId notifierId, IEventManager manager)
 Adds a notifier from another node manager More...
 
void RemoveNotifier (NodeId notifierId, IEventManager manager)
 Removes the notifier. More...
 
bool IsNotifierForSource (NotifierHandle notifierHandle, NodeId sourceId)
 Determines whether [is notifier for source] [the specified notifier handle]. More...
 
void AddMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode, MonitoringParameters parameters, EventNotificationEventHandler callback)
 Gets the incoming references for the source. More...
 
void ModifyMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters)
 Adds the monitored item. More...
 
void RemoveMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle)
 Removes the monitored item. More...
 
void SetMonitoringMode (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode)
 Sets the monitoring mode. More...
 
void ConditionRefresh (NodeId notifierId, MonitoredItemHandle itemHandle, EventNotificationEventHandler callback)
 Conditions the refresh. More...
 
void ReportEvent (NodeId notifierId, GenericEvent e)
 Conditions the refresh. More...
 

Detailed Description

Manages the notifier heirarchy for a node manager.

This class allows event related operations to efficiently propagate up and down the hierarchy. The INotifierManagerCallback interface is used to receive notifications when an operation occurs. This class is part of the BaseNodeManager class.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.NotifierManager.NotifierManager ( ServerManager  server,
IEventManager  eventManager,
INotifierManagerCallback  callback 
)

Initializes a new instance of the CrossReferenceManager class.

Parameters
serverThe server.
eventManagerThe event manager.
callbackThe callback.

Member Function Documentation

void UnifiedAutomation.UaServer.NotifierManager.AddMonitoredItem ( NodeId  notifierId,
MonitoredItemHandle  itemHandle,
MonitoringMode  monitoringMode,
MonitoringParameters  parameters,
EventNotificationEventHandler  callback 
)

Gets the incoming references for the source.

Parameters
notifierIdThe notifier id.
itemHandleThe item handle.
monitoringModeThe monitoring mode.
parametersThe parameters.
callbackThe callback.
void UnifiedAutomation.UaServer.NotifierManager.AddNotifier ( NodeId  notifierId,
IList< NodeId parentNotifierIds 
)

Adds the remote notifier source.

Parameters
notifierIdThe notifier id.
parentNotifierIdsThe parent notifier ids.
void UnifiedAutomation.UaServer.NotifierManager.AddNotifier ( NodeId  notifierId,
IEventManager  manager 
)

Adds a notifier from another node manager

Parameters
notifierIdThe notifier id.
managerThe manager.
void UnifiedAutomation.UaServer.NotifierManager.ConditionRefresh ( NodeId  notifierId,
MonitoredItemHandle  itemHandle,
EventNotificationEventHandler  callback 
)

Conditions the refresh.

Parameters
notifierIdThe notifier id.
itemHandleThe item handle.
callbackThe callback.
bool UnifiedAutomation.UaServer.NotifierManager.IsNotifierForSource ( NotifierHandle  notifierHandle,
NodeId  sourceId 
)

Determines whether [is notifier for source] [the specified notifier handle].

Parameters
notifierHandleThe notifier handle.
sourceIdThe source id.
Returns
true if [is notifier for source] [the specified notifier handle]; otherwise, false.
void UnifiedAutomation.UaServer.NotifierManager.ModifyMonitoredItem ( NodeId  notifierId,
MonitoredItemHandle  itemHandle,
MonitoringParameters  parameters 
)

Adds the monitored item.

Parameters
notifierIdThe notifier id.
itemHandleThe item handle.
parametersThe parameters.
Exceptions
System.ArgumentNullException
void UnifiedAutomation.UaServer.NotifierManager.RemoveMonitoredItem ( NodeId  notifierId,
MonitoredItemHandle  itemHandle 
)

Removes the monitored item.

Parameters
notifierIdThe notifier id.
itemHandleThe item handle.
void UnifiedAutomation.UaServer.NotifierManager.RemoveNotifier ( NodeId  notifierId)

Removes the remote notifier source.

Parameters
notifierIdThe notifier id.
void UnifiedAutomation.UaServer.NotifierManager.RemoveNotifier ( NodeId  notifierId,
IEventManager  manager 
)

Removes the notifier.

Parameters
notifierIdThe notifier id.
managerThe manager.
void UnifiedAutomation.UaServer.NotifierManager.ReportEvent ( NodeId  notifierId,
GenericEvent  e 
)

Conditions the refresh.

Parameters
notifierIdThe notifier id.
eThe e.
void UnifiedAutomation.UaServer.NotifierManager.SetMonitoringMode ( NodeId  notifierId,
MonitoredItemHandle  itemHandle,
MonitoringMode  monitoringMode 
)

Sets the monitoring mode.

Parameters
notifierIdThe notifier id.
itemHandleThe item handle.
monitoringModeThe monitoring mode.

The documentation for this class was generated from the following file: