Reference
OpcNodeSetManager Members
Provides a specialisation of the OpcNodeManager to import nodes from one or more OpcNodeSets and implement them using a OpcImplementNodeCallback.
Reference
OpcNodeSetManager Members
- Type
- OpcNodeSetManager
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcNodeManager.
Properties
ImplementNodeCallback
Gets or sets the callback used to implement the nodes of the current OpcNodeSetManager.
public OpcImplementNodeCallback ImplementNodeCallback { get; set; }Public Property ImplementNodeCallback As OpcImplementNodeCallbackProperty value
A OpcImplementNodeCallback used to implement the nodes of the current OpcNodeSetManager. The value can also be a null reference (Nothing in Visual Basic).
ImportOptions
Gets or sets the options to use to import the node sets of the node manager.
public OpcNodeSetImportOptions ImportOptions { get; set; }Public Property ImportOptions As OpcNodeSetImportOptionsProperty value
A combination of the OpcNodeSetImportOptions flags. The default value is None.
Remarks
The property provides the NodeSetImportOptions of the node manager.
Methods
Create
| Overload | Description |
|---|---|
| Create( | Creates a new instance of the OpcnodeSet specified. |
| Create( | Creates a new instance of the OpcnodeSet and additionally specified nodeSets. |
| Create( | Creates a new instance of the OpcnodeSet and additionally specified nodeSets. |
Create(OpcNodeSet)
Creates a new instance of the OpcNodeSetManager using the nodeSet specified.
public static OpcNodeSetManager Create(OpcNodeSet nodeSet)Public Shared Function Create(nodeSet As OpcNodeSet) As OpcNodeSetManagerParameters
| Name | Type | Description |
|---|---|---|
nodeSet | OpcNodeSet | The OpcNodeSet to import. |
Returns
A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeSet is a null reference ( |
Remarks
The newly created OpcNodeManager (represented by the OpcNodeSetManager returned) uses the Namespaces as its own Namespaces and imports the node information in the nodeSet during the creation of the address space.
Create(OpcNodeSet, IEnumerable<OpcNodeSet>)
Creates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.
public static OpcNodeSetManager Create(
OpcNodeSet nodeSet,
IEnumerable<OpcNodeSet> nodeSets)Public Shared Function Create(
nodeSet As OpcNodeSet,
nodeSets As IEnumerable(Of OpcNodeSet)) As OpcNodeSetManagerParameters
| Name | Type | Description |
|---|---|---|
nodeSet | OpcNodeSet | The first OpcNodeSet to import. |
nodeSets | IEnumerable<OpcNodeSet> | A sequence of subsequent OpcNodeSets to import. |
Returns
A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet and additionally specified nodeSets sequence.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeSet or one of the items in nodeSets is a null reference ( |
Remarks
The newly created OpcNodeManager (represented by the OpcNodeSetManager returned) uses the Namespaces in nodeSet and nodeSets as its own Namespaces and imports the node information in the nodeSet and nodeSets during the creation of the address space.
Create(OpcNodeSet, params OpcNodeSet[])
Creates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.
public static OpcNodeSetManager Create(
OpcNodeSet nodeSet,
params OpcNodeSet[] nodeSets)Public Shared Function Create(
nodeSet As OpcNodeSet,
ParamArray nodeSets As OpcNodeSet()) As OpcNodeSetManagerParameters
| Name | Type | Description |
|---|---|---|
nodeSet | OpcNodeSet | The first OpcNodeSet to import. |
nodeSets | params OpcNodeSet[] | An array of subsequent OpcNodeSets to import. |
Returns
A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet and additionally specified nodeSets array.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeSet or one of the items in nodeSets is a null reference ( |
Remarks
The newly created OpcNodeManager (represented by the OpcNodeSetManager returned) uses the Namespaces in nodeSet and nodeSets as its own Namespaces and imports the node information in the nodeSet and nodeSets during the creation of the address space.
ImplementNode
When implemented in a derived class, implements the logic required to integrate the node into the underlying system.
protected override sealed void ImplementNode(IOpcNode node)Protected NotOverridable Overrides Sub ImplementNode(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | An instance implementing the IOpcNode interface which is to be integrated into the underlying system. |
Overrides
Remarks
This method is called during the whole address space creation. This includes the import of nodes using ImportNodes and the creation of nodes using CreateNodes. Each node imported / created is passed to this method to integrate it accordingly into the underlying system.
Additionally this method is called after the startup of the server whenever a client adds another node to the address space part(s) maintained by the current OpcNodeManager.
ImportNodes
When 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.
protected override sealed IEnumerable<OpcNodeSet> ImportNodes()Protected NotOverridable Overrides Function ImportNodes() As IEnumerable(Of OpcNodeSet)Returns
A sequence of OpcNodeSet instances to use to import external stored node information into the address space.
Overrides

