UA Bundle SDK .NET
2.2.5.284
|
An interface to an object that manages access to events produced by a node. More...
Inherited by UnifiedAutomation.UaServer.IEventManagerEx.
Public Member Functions | |
StatusCode | BeginEventTransaction (RequestContext context, uint totalItemCountHint, TransactionType transactionType, Delegate callback, object callbackData, out TransactionHandle handle) |
Begins the transaction. More... | |
void | FinishEventTransaction (TransactionHandle transaction) |
Finishes the transaction. More... | |
StatusCode | BeginStartEventMonitoring (NotifierOperationHandle operationHandle, MonitoredItemCreateRequest settings, uint monitoredItemId, EventNotificationEventHandler callback) |
Starts monitoring a notifier for events. More... | |
StatusCode | BeginModifyEventMonitoring (MonitoredItemOperationHandle operationHandle, MonitoredItemModifyRequest settings) |
Modifies the monitoring for an item. More... | |
StatusCode | BeginStopEventMonitoring (MonitoredItemOperationHandle operationHandle) |
Stops monitoring an item. More... | |
StatusCode | BeginSetEventMonitoringMode (MonitoredItemOperationHandle operationHandle, MonitoringMode monitoringMode, MonitoringParameters parameters) |
Changes the monitoring mode for an item. More... | |
void | EventMonitoringStarted (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters, EventNotificationEventHandler callback) |
Called when monitoring starts for a notifier from another IEventManager higher in the hierarchy. More... | |
void | EventMonitoringModified (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters) |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy. More... | |
void | EventMonitoringStopped (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle) |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy. More... | |
void | ConditionRefresh (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, EventNotificationEventHandler callback) |
Called when the condition refresh is called for a notifier higher in the hierarchy. More... | |
An interface to an object that manages access to events produced by a node.
StatusCode UnifiedAutomation.UaServer.IEventManager.BeginEventTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
TransactionType | transactionType, | ||
Delegate | callback, | ||
object | callbackData, | ||
out TransactionHandle | handle | ||
) |
Begins the transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
transactionType | Type of the transaction. |
callback | The callback to raise when an opereation completes. |
callbackData | The callback data. |
handle | The transaction handle. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
StatusCode UnifiedAutomation.UaServer.IEventManager.BeginModifyEventMonitoring | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoredItemModifyRequest | settings | ||
) |
Modifies the monitoring for an item.
operationHandle | The operation handle. |
settings | The settings. |
If this method returns Good the callback passed to BeginTransaction must be called when the operation completes.
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
StatusCode UnifiedAutomation.UaServer.IEventManager.BeginSetEventMonitoringMode | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoringMode | monitoringMode, | ||
MonitoringParameters | parameters | ||
) |
Changes the monitoring mode for an item.
operationHandle | The operation handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
If this method returns Good the callback passed to BeginTransaction must be called when the operation completes.
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
StatusCode UnifiedAutomation.UaServer.IEventManager.BeginStartEventMonitoring | ( | NotifierOperationHandle | operationHandle, |
MonitoredItemCreateRequest | settings, | ||
uint | monitoredItemId, | ||
EventNotificationEventHandler | callback | ||
) |
Starts monitoring a notifier for events.
operationHandle | The operation handle. |
settings | The settings. |
monitoredItemId | The monitored item id. |
callback | The callback to use when events occur. |
If this method returns Good the callback passed to BeginTransaction must be called when the operation completes.
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
StatusCode UnifiedAutomation.UaServer.IEventManager.BeginStopEventMonitoring | ( | MonitoredItemOperationHandle | operationHandle | ) |
Stops monitoring an item.
operationHandle | The operation handle. |
If this method returns Good the callback passed to BeginTransaction must be called when the operation completes.
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
void UnifiedAutomation.UaServer.IEventManager.ConditionRefresh | ( | RequestContext | context, |
NodeId | notifierId, | ||
MonitoredItemHandle | itemHandle, | ||
EventNotificationEventHandler | callback | ||
) |
Called when the condition refresh is called for a notifier higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier. |
itemHandle | The item handle. |
callback | The callback to call with the current state of all conditions. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
void UnifiedAutomation.UaServer.IEventManager.EventMonitoringModified | ( | RequestContext | context, |
NodeId | notifierId, | ||
MonitoredItemHandle | itemHandle, | ||
MonitoringParameters | parameters | ||
) |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
parameters | The parameters. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
void UnifiedAutomation.UaServer.IEventManager.EventMonitoringStarted | ( | RequestContext | context, |
NodeId | notifierId, | ||
MonitoredItemHandle | itemHandle, | ||
MonitoringParameters | parameters, | ||
EventNotificationEventHandler | callback | ||
) |
Called when monitoring starts for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
parameters | The parameters. |
callback | The callback to use when events occur. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
void UnifiedAutomation.UaServer.IEventManager.EventMonitoringStopped | ( | RequestContext | context, |
NodeId | notifierId, | ||
MonitoredItemHandle | itemHandle | ||
) |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.
void UnifiedAutomation.UaServer.IEventManager.FinishEventTransaction | ( | TransactionHandle | transaction | ) |
Finishes the transaction.
transaction | The transaction. |
Implemented in UnifiedAutomation.UaServer.RootNodeManager, and UnifiedAutomation.UaServer.BaseNodeManager.