.NET Based OPC UA Client/Server SDK
3.0.0.439
|
The root node manager for a server. More...
Inherits UnifiedAutomation.UaServer.INodeManagerEx, UnifiedAutomation.UaServer.IEventManagerEx, UnifiedAutomation.UaServer.IViewManager, UnifiedAutomation.UaServer.IObjectMappingManager, UnifiedAutomation.UaServer.INodeManagementManager, and IDisposable.
Public Member Functions | |
RootNodeManager (ServerManager server) | |
Initializes a new instance of the RootNodeManager class. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
void | Startup () |
Called when the node manager is started. More... | |
void | Shutdown () |
Called when the node manager is stopped. More... | |
void | SessionOpened (Session session) |
Called when a new session is created. More... | |
void | SessionActivated (Session session) |
Called when a session is activated. More... | |
void | SessionClosed (Session session) |
Called when a new session is closed. More... | |
StatusCode | GetBrowseHandle (RequestContext context, ViewHandle view, NodeId nodeId, out BrowseHandle handle) |
Gets the browse handle for the specified node. More... | |
StatusCode | GetViewHandle (RequestContext context, ViewDescription view, out ViewHandle handle) |
Gets the view handle for the specified view. More... | |
StatusCode | GetNodeHandle (RequestContext context, NodeId nodeId, uint attributeId, out NodeAttributeHandle handle) |
Gets the node handle for the specified node. More... | |
StatusCode | GetNotifierHandle (RequestContext context, NodeId nodeId, out NotifierHandle handle) |
Gets the notifier handle for the specified notifier. More... | |
StatusCode | GetMethodHandle (RequestContext context, NodeId objectId, NodeId methodId, out MethodHandle handle) |
Gets the notifier handle for the specified notifier. More... | |
StatusCode | GetHistoryDataHandle (RequestContext context, NodeId variableId, out HistoryDataHandle handle) |
Gets the history data handle for the specified variable. More... | |
StatusCode | GetHistoryEventHandle (RequestContext context, NodeId notifierId, out HistoryEventHandle handle) |
Gets the history events handle for the specified notifier. More... | |
StatusCode | BeginBrowse (RequestContext context, BrowseOperationHandle nodeToBrowse, ContinuationPoint continuationPoint, bool releaseContinuationPoint, Delegate callback, object callbackData) |
Begins the browse. More... | |
StatusCode | BeginTranslate (RequestContext context, BrowseOperationHandle nodeToBrowse, RelativePath relativePath, uint index, Delegate callback, object callbackData) |
Begins the translate browse paths. More... | |
void | AddCrossReference (NodeId sourceNodeId, INodeManager manager) |
Adds the cross reference. More... | |
void | RemoveCrossReference (NodeId sourceNodeId, INodeManager manager) |
Removes the cross reference. More... | |
bool | IsReferenceInView (RequestContext context, ViewHandle view, BrowseHandle sourceHandle, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
Determines whether the reference is in the specified view. More... | |
ModelHandle | LinkModelToNode (NodeId rootId, object instance, object syncLock, IModelMapper mapper, double minimumSamplingInterval) |
Links an object to a node in the address space. More... | |
void | UnlinkModelFromNode (NodeId rootId, ModelHandle handle) |
Unlinks a object from a node in the address space. More... | |
StatusCode | AddNode (RequestContext context, AddNodeSettings settings, out NodeId assignedNodeId) |
Adds a new node. More... | |
StatusCode | DeleteNode (RequestContext context, NodeId nodeId, bool deleteTargetReferences) |
Deletes a node. More... | |
StatusCode | AddReference (RequestContext context, NodeId sourceNodeId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetNodeId, bool addBiDirectional) |
Adds a reference. More... | |
StatusCode | DeleteReference (RequestContext context, NodeId sourceNodeId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetNodeId, bool deleteBiDirectional) |
Deletes a reference. More... | |
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 | ReportEvent (NodeId notifierId, GenericEvent e) |
Reports an event for the notifier id. 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... | |
void | AddNotifier (NodeId notifierId, IEventManager manager) |
Adds a link to a notifier. More... | |
void | RemoveNotifier (NodeId notifierId, IEventManager manager) |
Removes a link to a notifier. More... | |
INodeManager | FindNodeManager (ushort namespaceIndex) |
Finds the node manager responsible for the specified namespace. More... | |
void | AddNodeManager (BaseNodeManager nodeManager) |
Adds a node manager. More... | |
ushort | AddNodeManager (string namespaceUri, INodeManager nodeManager) |
Adds q node manager. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
Properties | |
BaseNodeManager | CoreNodeManager [get] |
Gets the core node manager. More... | |
The root node manager for a server.
|
inline |
Initializes a new instance of the RootNodeManager class.
server | The server. |
|
inline |
Adds the cross reference.
sourceNodeId | The source node id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.INodeManagerEx.
|
inline |
Adds a new node.
context | The request context. |
settings | The settings. |
assignedNodeId | The assigned node id. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inline |
Adds a node manager.
nodeManager | The node manager. |
|
inline |
Adds q node manager.
namespaceUri | The namespace URI. |
nodeManager | The node manager. |
|
inline |
Adds a link to a notifier.
notifierId | The notifier id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inline |
Adds a reference.
context | The request context. |
sourceNodeId | The source node id. |
referenceTypeId | The reference type id. |
isInverse | if set to true then the reference is a inverse reference. |
targetNodeId | The target node id. |
addBiDirectional | if set to true then the reverse reference is added as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inline |
Begins the browse.
context | The request context. |
nodeToBrowse | The node to browse. |
continuationPoint | The continuation point. |
releaseContinuationPoint | if set to true [release continuation point]. |
callback | The callback. |
callbackData | The callback data. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
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. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Modifies the monitoring for an item.
operationHandle | The operation handle. |
settings | The settings. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Changes the monitoring mode for an item.
operationHandle | The operation handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Starts monitoring a notifier for events.
operationHandle | The operation handle. |
settings | The settings. |
monitoredItemId | The monitored item id. |
callback | The callback. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Stops monitoring an item.
operationHandle | The operation handle. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Begins the translate browse paths.
context | The request context. |
nodeToBrowse | The node to browse. |
relativePath | The relative path. |
index | The index. |
callback | The callback. |
callbackData | The callback data. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
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. |
System.ArgumentNullException | notifierId |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Deletes a node.
context | The request context. |
nodeId | The node id. |
deleteTargetReferences | if set to true [delete target references]. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inline |
Deletes a reference.
context | The request context. |
sourceNodeId | The source node id. |
referenceTypeId | The reference type id. |
isInverse | if set to true then the reference is a inverse reference. |
targetNodeId | The target node id. |
deleteBiDirectional | if set to true then the reverse reference is deleted as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inline |
Frees any unmanaged resources.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
|
inline |
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. |
System.ArgumentNullException | notifierId |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
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. |
System.ArgumentNullException | notifierId |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
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. |
System.ArgumentNullException | notifierId |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Finds the node manager responsible for the specified namespace.
namespaceIndex | Index of the namespace. |
|
inline |
Finishes the transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Gets the browse handle for the specified node.
context | The request context. |
view | The view. |
nodeId | The node id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the history data handle for the specified variable.
context | The request context. |
variableId | The variable id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the history events handle for the specified notifier.
context | The request context. |
notifierId | The notifier id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the notifier handle for the specified notifier.
context | The request context. |
objectId | The object id. |
methodId | The method id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the node handle for the specified node.
context | The request context. |
nodeId | The node id. |
attributeId | The attribute id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the notifier handle for the specified notifier.
context | The request context. |
nodeId | The node id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Gets the view handle for the specified view.
context | The request context. |
view | The view. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Determines whether the reference is in the specified view.
context | The request context. |
view | The view. |
sourceHandle | The source handle. |
referenceTypeId | The reference type id. |
isInverse | if set to true then the reference is an inverse reference. |
targetId | The target id. |
true
if the reference is in the view; otherwise, false
. Implements UnifiedAutomation.UaServer.IViewManager.
|
inline |
Links an object to a node in the address space.
rootId | The root id. |
instance | The instance. |
syncLock | The sync lock. |
mapper | The mapper. |
minimumSamplingInterval | The minimum sampling interval. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
|
inline |
Removes the cross reference.
sourceNodeId | The source node id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.INodeManagerEx.
|
inline |
Removes a link to a notifier.
notifierId | The notifier id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inline |
Reports an event for the notifier id.
notifierId | The notifier id. |
e | The event. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inline |
Called when a session is activated.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Called when a new session is closed.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Called when a new session is created.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Called when the node manager is stopped.
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Called when the node manager is started.
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
Unlinks a object from a node in the address space.
rootId | The root id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
|
get |
Gets the core node manager.
The core node manager.