UA Bundle SDK .NET
2.1.0.222
|
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. | |
void | AddNotifier (NodeId notifierId, IList< NodeId > parentNotifierIds) |
Adds the remote notifier source. | |
void | RemoveNotifier (NodeId notifierId) |
Removes the remote notifier source. | |
void | AddNotifier (NodeId notifierId, IEventManager manager) |
Adds a notifier from another node manager | |
void | RemoveNotifier (NodeId notifierId, IEventManager manager) |
Removes the notifier. | |
bool | IsNotifierForSource (NotifierHandle notifierHandle, NodeId sourceId) |
Determines whether [is notifier for source] [the specified notifier handle]. | |
void | AddMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode, MonitoringParameters parameters, EventNotificationEventHandler callback) |
Gets the incoming references for the source. | |
void | ModifyMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters) |
Adds the monitored item. | |
void | RemoveMonitoredItem (NodeId notifierId, MonitoredItemHandle itemHandle) |
Removes the monitored item. | |
void | SetMonitoringMode (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode) |
Sets the monitoring mode. | |
void | ConditionRefresh (NodeId notifierId, MonitoredItemHandle itemHandle, EventNotificationEventHandler callback) |
Conditions the refresh. | |
void | ReportEvent (NodeId notifierId, GenericEvent e) |
Conditions the refresh. | |
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.
UnifiedAutomation.UaServer.NotifierManager.NotifierManager | ( | ServerManager | server, |
IEventManager | eventManager, | ||
INotifierManagerCallback | callback | ||
) |
Initializes a new instance of the CrossReferenceManager class.
server | The server. |
eventManager | The event manager. |
callback | The callback. |
void UnifiedAutomation.UaServer.NotifierManager.AddMonitoredItem | ( | NodeId | notifierId, |
MonitoredItemHandle | itemHandle, | ||
MonitoringMode | monitoringMode, | ||
MonitoringParameters | parameters, | ||
EventNotificationEventHandler | callback | ||
) |
Gets the incoming references for the source.
notifierId | The notifier id. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
callback | The callback. |
void UnifiedAutomation.UaServer.NotifierManager.AddNotifier | ( | NodeId | notifierId, |
IList< NodeId > | parentNotifierIds | ||
) |
Adds the remote notifier source.
notifierId | The notifier id. |
parentNotifierIds | The parent notifier ids. |
void UnifiedAutomation.UaServer.NotifierManager.AddNotifier | ( | NodeId | notifierId, |
IEventManager | manager | ||
) |
Adds a notifier from another node manager
notifierId | The notifier id. |
manager | The manager. |
void UnifiedAutomation.UaServer.NotifierManager.ConditionRefresh | ( | NodeId | notifierId, |
MonitoredItemHandle | itemHandle, | ||
EventNotificationEventHandler | callback | ||
) |
Conditions the refresh.
notifierId | The notifier id. |
itemHandle | The item handle. |
callback | The callback. |
bool UnifiedAutomation.UaServer.NotifierManager.IsNotifierForSource | ( | NotifierHandle | notifierHandle, |
NodeId | sourceId | ||
) |
Determines whether [is notifier for source] [the specified notifier handle].
notifierHandle | The notifier handle. |
sourceId | The source id. |
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.
notifierId | The notifier id. |
itemHandle | The item handle. |
parameters | The parameters. |
System.ArgumentNullException |
void UnifiedAutomation.UaServer.NotifierManager.RemoveMonitoredItem | ( | NodeId | notifierId, |
MonitoredItemHandle | itemHandle | ||
) |
Removes the monitored item.
notifierId | The notifier id. |
itemHandle | The item handle. |
void UnifiedAutomation.UaServer.NotifierManager.RemoveNotifier | ( | NodeId | notifierId | ) |
Removes the remote notifier source.
notifierId | The notifier id. |
void UnifiedAutomation.UaServer.NotifierManager.RemoveNotifier | ( | NodeId | notifierId, |
IEventManager | manager | ||
) |
Removes the notifier.
notifierId | The notifier id. |
manager | The manager. |
void UnifiedAutomation.UaServer.NotifierManager.ReportEvent | ( | NodeId | notifierId, |
GenericEvent | e | ||
) |
Conditions the refresh.
notifierId | The notifier id. |
e | The e. |
void UnifiedAutomation.UaServer.NotifierManager.SetMonitoringMode | ( | NodeId | notifierId, |
MonitoredItemHandle | itemHandle, | ||
MonitoringMode | monitoringMode | ||
) |
Sets the monitoring mode.
notifierId | The notifier id. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |