Skip to content

Reference

OpcNodeManager Class

Provides an abstract base class used to organize and maintain the address space or only a part of it.

Reference

OpcNodeManager Class ​

abstract

Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcNodeManager Members

Provides an abstract base class used to organize and maintain the address space or only a part of it. This includes the definition of the nodes in the address space as well as the processing of different node operations to interact with the underlying system.

Syntax ​

csharp
public abstract class OpcNodeManager
vbnet
Public MustInherit Class OpcNodeManager

Inheritance ​

Object → OpcNodeManager

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcNodeManagerprotected · 3 overloadsInitializes a new instance of the OpcNodeManager class using the defaultNamespace and additionally specified namespaces.

Properties ​

NameDescription
DefaultNamespaceGets the default namespace of the node manager.
DefaultNamespaceIndexGets the index of the default namespace of the node manager.
DefaultNamespaceUriGets the URI of the default namespace of the node manager.
DefaultNamespaceValuesince v2.8Gets the textual value of the default namespace of the node manager.
Namespacessince v2.8Gets the namespaces maintained by the node manager.
NodeIdFactoryprotected · virtualGets or sets the OpcNodeIdFactory instance used by this node manager to determine / create node identifiers for the nodes provided / defined by the node manager.
NodesGets the nodes of the node manager.
NodeSetImportOptionsprotected · virtual · since v2.50Gets or sets the options to use to import the node sets provided by ImportNodes.
NotifierNodesGets the nodes of the node manager which act as notifiers (event sources) of the 'Server' node.
SyncRootprotectedGets the object the node manager locks while it notifies monitored items about changes of its nodes and while it creates, modifies or deletes monitored items, browses, translates browse paths or accesses the history of its nodes.
SystemContextprotectedGets the context which the node manager uses to access its nodes.
UseAsyncMethodCallsprotected · virtual · since v2.24Gets a value indicating whether every call to a OpcMethodNode defined by the current OpcNodeManager is to be processed asynchronously using one worker thread per method call.

Methods ​

NameDescription
AddNode8 overloadsAdds the node specified to the address space of the node manager.
AddNotifierNodeprotectedAdds the node to the collection of 'root' notifiers (= event sources) of the 'Server' node.
Browseprotected · virtual · since v2.7Browses the references of a node of the node manager on behalf of a client.
CreateHistoryprotected · virtualCreates the history entries of the values specified for the node specified.
CreateNodesprotected · virtualWhen overridden in a derived class, creates the nodes of the address space part maintained by the node manager.
DeleteHistoryprotected · virtual · 3 overloadsDeletes the history entries at the times specified of the node specified.
DeleteNodesprotected · virtualWhen overridden in a derived class, releases the nodes of the node manager.
Dispose2 overloadsReleases all resources used by the OpcNodeManager.
ExportNodes2 overloadsExports the Nodes of the node manager using the Default options.
GetNode2 overloads · since v2.15Retrieves the IOpcNode which is maintained by the Nodes of this OpcNodeManager and is known under the nodePath specified.
ImplementNodeprotected · virtual · since v2.9When implemented in a derived class, implements the logic required to integrate the node into the underlying system.
ImportNodesprotected · virtual · since v2.9When implemented in a derived class, offers the different OpcNodeSets which are imported prior any other nodes are created within the address space part organized by the current OpcNodeManager.
IsNodeAccessibleprotected · virtual · since v2.7Determines whether the node specified is accessible in the context and view specified.
IsNodeReadyToPublishprotected · since v2.50Determines a value indicating whether any applied node changes are awaiting to be published by at least one monitored item.
OnAfterReadprotected · virtualRaises the AfterRead event of the OpcNodeManager.
OnAfterWriteprotected · virtualRaises the AfterWrite event of the OpcNodeManager.
OnBeforeReadprotected · virtualRaises the BeforeRead event of the OpcNodeManager.
OnBeforeWriteprotected · virtualRaises the BeforeWrite event of the OpcNodeManager.
OnMonitoredItemCreatedprotected · virtualRaises the MonitoredItemCreated event of the OpcNodeManager.
OnMonitoredItemDeletedprotected · virtualRaises the MonitoredItemDeleted event of the OpcNodeManager.
OnMonitoredItemModifiedprotected · virtualRaises the MonitoredItemModified event of the OpcNodeManager.
OnMonitoredItemsCreatedprotected · virtual · since v2.7Raises the MonitoredItemsCreated event of the OpcNodeManager.
OnMonitoredItemsDeletedprotected · virtual · since v2.7Raises the MonitoredItemsDeleted event of the OpcNodeManager.
OnMonitoredItemsModifiedprotected · virtual · since v2.7Raises the MonitoredItemsModified event of the OpcNodeManager.
QueryNodeprotected · virtualWhen overridden in a derived class, provides the node with the nodeId specified which is not part of the Nodes.
Readprotected · virtualReads the attribute values requested by the tokens specified on behalf of a client.
ReadEventHistoryprotected · virtual · since v2.54Reads the history of the events of the node specified on behalf of a client.
ReadHistoryprotected · virtual · since v2.51Reads the history of the values of the node specified on behalf of a client.
RemoveNode4 overloadsRemoves the node specified from the address space of the node manager.
RemoveNotifierNodeprotectedRemoves the node from the collection of 'root' notifiers (= event sources) of the 'Server' node.
ReplaceHistoryprotected · virtualReplaces the history entries of the values specified of the node specified.
ReplaceNodeprotected · since v2.9Replaces an existing IOpcNode instance with the specified node without invalidating existing monitored items nor previously defined notifiers.
ReportEvent7 overloadsProduces a global event using the eventNode specified.
RetrieveEventHistoryProviderprotected · virtual · since v2.54Retrieves the provider which provides the history of the events of the node specified.
RetrieveNodeHistoryProviderprotected · virtualRetrieves the provider which provides the history of the values of the node specified.
UpdateHistoryprotected · virtualUpdates the history entries of the values specified of the node specified.
Writeprotected · virtualWrites the attribute values provided by the tokens specified on behalf of a client.

Events ​

NameDescription
AfterReadOccurs after the node manager has read attribute values of its nodes on behalf of a client (see Read), also if reading has failed.
AfterWriteOccurs after the node manager has written attribute values of its nodes on behalf of a client (see Write), also if writing has failed.
BeforeReadOccurs before the node manager reads attribute values of its nodes on behalf of a client (see Read).
BeforeWriteOccurs before the node manager writes attribute values of its nodes on behalf of a client (see Write).
MonitoredItemCreatedOccurs when a new monitored item is created through a OpcSession.
MonitoredItemDeletedOccurs when an existing monitored item of a OpcSession has been deleted.
MonitoredItemModifiedOccurs when an existing monitored item of a OpcSession has been modified.
MonitoredItemsCreatedsince v2.7Occurs when a set of new monitored items is created through a OpcSession.
MonitoredItemsDeletedsince v2.7Occurs when a set of existing monitored items of a OpcSession has been deleted.
MonitoredItemsModifiedsince v2.7Occurs when a set of existing monitored items of a OpcSession has been modified.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59