UA Bundle SDK .NET  2.2.1.258
 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 (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode, MonitoringParameters parameters, EventNotificationEventHandler callback)
 Gets the incoming references for the source. More...
 
void ModifyMonitoredItem (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters)
 Adds the monitored item. More...
 
void RemoveMonitoredItem (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle)
 Removes the monitored item. More...
 
void SetMonitoringMode (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode)
 Sets the monitoring mode. More...
 
void ConditionRefresh (RequestContext context, 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 
)
inline

Initializes a new instance of the CrossReferenceManager class.

Parameters
serverThe server.
eventManagerThe event manager.
callbackThe callback.

Member Function Documentation

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

Gets the incoming references for the source.

Parameters
contextThe context.
notifierIdThe notifier id.
itemHandleThe item handle.
monitoringModeThe monitoring mode.
parametersThe parameters.
callbackThe callback.
Exceptions
System.ArgumentNullExceptionnotifierId or itemHandle or callback
void UnifiedAutomation.UaServer.NotifierManager.AddNotifier ( NodeId  notifierId,
IList< NodeId parentNotifierIds 
)
inline

Adds the remote notifier source.

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

Adds a notifier from another node manager

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

Conditions the refresh.

Parameters
contextThe context.
notifierIdThe notifier id.
itemHandleThe item handle.
callbackThe callback.
Exceptions
System.ArgumentNullExceptionnotifierId or itemHandle or callback
bool UnifiedAutomation.UaServer.NotifierManager.IsNotifierForSource ( NotifierHandle  notifierHandle,
NodeId  sourceId 
)
inline

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 ( RequestContext  context,
NodeId  notifierId,
MonitoredItemHandle  itemHandle,
MonitoringParameters  parameters 
)
inline

Adds the monitored item.

Parameters
contextThe context.
notifierIdThe notifier id.
itemHandleThe item handle.
parametersThe parameters.
Exceptions
System.ArgumentNullExceptionnotifierId or itemHandle
void UnifiedAutomation.UaServer.NotifierManager.RemoveMonitoredItem ( RequestContext  context,
NodeId  notifierId,
MonitoredItemHandle  itemHandle 
)
inline

Removes the monitored item.

Parameters
contextThe context.
notifierIdThe notifier id.
itemHandleThe item handle.
Exceptions
System.ArgumentNullExceptionnotifierId or itemHandle
void UnifiedAutomation.UaServer.NotifierManager.RemoveNotifier ( NodeId  notifierId)
inline

Removes the remote notifier source.

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

Removes the notifier.

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

Conditions the refresh.

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

Sets the monitoring mode.

Parameters
contextThe context.
notifierIdThe notifier id.
itemHandleThe item handle.
monitoringModeThe monitoring mode.
Exceptions
System.ArgumentNullExceptionnotifierId or itemHandle

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