Skip to content

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.

csharp
public OpcImplementNodeCallback ImplementNodeCallback { get; set; }
vbnet
Public Property ImplementNodeCallback As OpcImplementNodeCallback

Property value

OpcImplementNodeCallback

A OpcImplementNodeCallback used to implement the nodes of the current OpcNodeSetManager. The value can also be a null reference (Nothing in Visual Basic).

ImportOptions ​

since v2.50

Gets or sets the options to use to import the node sets of the node manager.

csharp
public OpcNodeSetImportOptions ImportOptions { get; set; }
vbnet
Public Property ImportOptions As OpcNodeSetImportOptions

Property value

OpcNodeSetImportOptions

A combination of the OpcNodeSetImportOptions flags. The default value is None.

Remarks

The property provides the NodeSetImportOptions of the node manager.

Methods ​

Create ​

static · 3 overloads

OverloadDescription
Create(OpcNodeSet)staticCreates a new instance of the OpcNodeSetManager using the nodeSet specified.
Create(OpcNodeSet, IEnumerable<OpcNodeSet>)staticCreates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.
Create(OpcNodeSet, params OpcNodeSet[])staticCreates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.

Create(OpcNodeSet) ​

static

Creates a new instance of the OpcNodeSetManager using the nodeSet specified.

csharp
public static OpcNodeSetManager Create(OpcNodeSet nodeSet)
vbnet
Public Shared Function Create(nodeSet As OpcNodeSet) As OpcNodeSetManager

Parameters

NameTypeDescription
nodeSetOpcNodeSetThe OpcNodeSet to import.

Returns

OpcNodeSetManager

A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet specified.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeSet is a null reference (Nothing in Visual Basic).

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>) ​

static

Creates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.

csharp
public static OpcNodeSetManager Create(
    OpcNodeSet nodeSet,
    IEnumerable<OpcNodeSet> nodeSets)
vbnet
Public Shared Function Create(
    nodeSet As OpcNodeSet,
    nodeSets As IEnumerable(Of OpcNodeSet)) As OpcNodeSetManager

Parameters

NameTypeDescription
nodeSetOpcNodeSetThe first OpcNodeSet to import.
nodeSetsIEnumerable<OpcNodeSet>A sequence of subsequent OpcNodeSets to import.

Returns

OpcNodeSetManager

A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet and additionally specified nodeSets sequence.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeSet or one of the items in nodeSets is a null reference (Nothing in Visual Basic).

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[]) ​

static

Creates a new instance of the OpcNodeSetManager using the nodeSet and additionally specified nodeSets.

csharp
public static OpcNodeSetManager Create(
    OpcNodeSet nodeSet,
    params OpcNodeSet[] nodeSets)
vbnet
Public Shared Function Create(
    nodeSet As OpcNodeSet,
    ParamArray nodeSets As OpcNodeSet()) As OpcNodeSetManager

Parameters

NameTypeDescription
nodeSetOpcNodeSetThe first OpcNodeSet to import.
nodeSetsparams OpcNodeSet[]An array of subsequent OpcNodeSets to import.

Returns

OpcNodeSetManager

A new instance of the OpcNodeSetManager class which has been initialized with the nodeSet and additionally specified nodeSets array.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe nodeSet or one of the items in nodeSets is a null reference (Nothing in Visual Basic).

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 ​

protected · override

When implemented in a derived class, implements the logic required to integrate the node into the underlying system.

csharp
protected override sealed void ImplementNode(IOpcNode node)
vbnet
Protected NotOverridable Overrides Sub ImplementNode(node As IOpcNode)

Parameters

NameTypeDescription
nodeIOpcNodeAn instance implementing the IOpcNode interface which is to be integrated into the underlying system.

Overrides

ImplementNode

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 ​

protected · override

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.

csharp
protected override sealed IEnumerable<OpcNodeSet> ImportNodes()
vbnet
Protected NotOverridable Overrides Function ImportNodes() As IEnumerable(Of OpcNodeSet)

Returns

IEnumerable<OpcNodeSet>

A sequence of OpcNodeSet instances to use to import external stored node information into the address space.

Overrides

ImportNodes