C# Class Opc.Ua.NodeBrowser

A thread safe object which browses the references for an node.
Inheritance: INodeBrowser
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Public Methods

Method Description
Add ( IReference reference ) : void

Adds a reference to target entity.

Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : void

Adds a reference to target identified by its node id.

Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, NodeState target ) : void

Adds a reference to target entity.

Will not add the reference if the browse name does not match the browse name filter.

Dispose ( ) : void

Frees any unmanaged resources.

IsRequired ( Opc.Ua.NodeId referenceType, bool isInverse ) : bool

Returns true if the reference type is required.

IsRequired ( NodeState target ) : bool

Returns true if the target node is required (used to apply view filters);

Next ( ) : IReference

Returns the next reference. Null if no more references.

NodeBrowser ( ISystemContext context, ViewDescription view, Opc.Ua.NodeId referenceType, bool includeSubtypes, BrowseDirection browseDirection, Opc.Ua.QualifiedName browseName, IEnumerable additionalReferences, bool internalOnly ) : System

Creates a new browser object with a set of filters.

Push ( IReference reference ) : void

Pushes a previously returned reference back into the browser.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Method Details

Add() public method

Adds a reference to target entity.
public Add ( IReference reference ) : void
reference IReference
return void

Add() public method

Adds a reference to target identified by its node id.
public Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : void
referenceTypeId Opc.Ua.NodeId
isInverse bool
targetId Opc.Ua.ExpandedNodeId
return void

Add() public method

Adds a reference to target entity.
Will not add the reference if the browse name does not match the browse name filter.
public Add ( Opc.Ua.NodeId referenceTypeId, bool isInverse, NodeState target ) : void
referenceTypeId Opc.Ua.NodeId
isInverse bool
target NodeState
return void

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

IsRequired() public method

Returns true if the reference type is required.
public IsRequired ( Opc.Ua.NodeId referenceType, bool isInverse ) : bool
referenceType Opc.Ua.NodeId
isInverse bool
return bool

IsRequired() public method

Returns true if the target node is required (used to apply view filters);
public IsRequired ( NodeState target ) : bool
target NodeState
return bool

Next() public method

Returns the next reference. Null if no more references.
public Next ( ) : IReference
return IReference

NodeBrowser() public method

Creates a new browser object with a set of filters.
public NodeBrowser ( ISystemContext context, ViewDescription view, Opc.Ua.NodeId referenceType, bool includeSubtypes, BrowseDirection browseDirection, Opc.Ua.QualifiedName browseName, IEnumerable additionalReferences, bool internalOnly ) : System
context ISystemContext
view ViewDescription
referenceType Opc.Ua.NodeId
includeSubtypes bool
browseDirection BrowseDirection
browseName Opc.Ua.QualifiedName
additionalReferences IEnumerable
internalOnly bool
return System

Push() public method

Pushes a previously returned reference back into the browser.
public Push ( IReference reference ) : void
reference IReference
return void