CVB.Net 14.0
ServerMethodNode Class Reference

OPC/UA OpcUaClient method node. More...

Inherits ServerNodeBase, and IServerMethodNode.

Public Member Functions

 ServerMethodNode (int namespaceIndex, string identifier, IServerNode parent)
 Creates a new method node that is connected to a OpcUaServer at the parent node. More...
 
- Public Member Functions inherited from NodeBase
void Dispose ()
 Disposes the native object wrapped by this object immediately. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Disposes of the native callback reference. More...
 
- Protected Member Functions inherited from ServerNodeBase
 ServerNodeBase (IntPtr handle, OpcUaServer parent)
 Creates a new client Node from the given handle . More...
 
- Protected Member Functions inherited from NodeBase
 NodeBase (IntPtr handle)
 Creates a new Node object from the given handle . More...
 
virtual void Dispose (bool disposing)
 IDispose helper function. More...
 

Properties

override OpcUaServer Server [get, set]
 Gets the parent OpcUaServer object.
 
IServerMethodParameterCollection InputParameters [get]
 The collection of input parameters. More...
 
IServerMethodParameterCollection OutputParameters [get]
 The collection of output parameters. More...
 
- Properties inherited from ServerNodeBase
virtual OpcUaServer Server [get, set]
 Gets the parent OpcUaServer object.
 
- Properties inherited from NodeBase
IntPtr Handle [get]
 Native CVB CVOPCNODE handle. More...
 
bool IsDisposed [get]
 Tests whether the native handle has been disposed.
 
NodeId NodeId [get]
 Gets the NodeId identifying this Node.
 
string BrowseName [get]
 Gets string node identifier (especially for browsing).
 
string DisplayName [get]
 Node name for displaying it in a user interface.
 
string Description [get]
 Optional description of this node's role and behavior.
 
- Properties inherited from INativeHandle
IntPtr Handle [get]
 The native handle of the object.
 
bool IsDisposed [get]
 Possibility to check whether the object has already been disposed of.
 
- Properties inherited from INode
NodeId NodeId [get]
 Gets the NodeId uniquely identifying this INode.
 
string BrowseName [get]
 Gets string node identifier (especially for browsing).
 
string DisplayName [get]
 Node name for displaying it in a user interface.
 
string Description [get]
 Optional description of this node's role and behavior.
 
- Properties inherited from IServerMethodNode
new IServerMethodParameterCollection InputParameters [get]
 The collection of input parameters.
 
new IServerMethodParameterCollection OutputParameters [get]
 The collection of output parameters.
 
- Properties inherited from IMethodNode
ICollection< IMethodParameterInputParameters [get]
 The collection of input parameters.
 
ICollection< IMethodParameterOutputParameters [get]
 The collection of output parameters.
 

Events

EventHandler< MethodCalledEventArgsCalled
 Event that is fired when the client executes this method.
 
- Events inherited from NodeBase
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method. More...
 
- Events inherited from INativeHandle
NativeHandleEventDelegate ObjectDisposing
 Raised when this object is about to be disposed via the IDisposable.Dispose method.
More...
 
- Events inherited from IServerMethodNode
EventHandler< MethodCalledEventArgsCalled
 Event that is fired when the client executes this method.
 

Additional Inherited Members

- Static Public Member Functions inherited from ServerNodeBase
static ServerNodeBase FromHandle (IntPtr handle, OpcUaServer parent)
 Creates a new Node object from the given handle . More...
 
static ServerNodeBase FromHandle (IntPtr handle, ShareObject doShare, OpcUaServer parent)
 Creates a new Node object from the given handle . More...
 
- Static Protected Member Functions inherited from ServerNodeBase
static T EnsureNonNull< T > (T value, string name=null)
 Ensures that the given value is not null. More...
 
- Protected Attributes inherited from NodeBase
object LockAnchor = new object()
 Enables thread safety for "transparent" .Net side operations.
 

Detailed Description

OPC/UA OpcUaClient method node.

Constructor & Destructor Documentation

◆ ServerMethodNode()

ServerMethodNode ( int  namespaceIndex,
string  identifier,
IServerNode  parent 
)

Creates a new method node that is connected to a OpcUaServer at the parent node.

Parameters
namespaceIndexNamespace in which to create this node.
identifierUnique identifier of the Object node.
parentThe parent node to add this node to.

Member Function Documentation

◆ Dispose()

override void Dispose ( bool  disposing)
protectedvirtual

Disposes of the native callback reference.

Parameters
disposingtrue if called from IDisposable.Dispose; false if called from finalizer.

Reimplemented from NodeBase.

Property Documentation

◆ InputParameters

IServerMethodParameterCollection InputParameters
get

The collection of input parameters.

Attention: add parameters before adding this Node to the OpcUaServer. Otherwise the parameters are not visible to a OpcUaClient .

Implements IServerMethodNode.

◆ OutputParameters

IServerMethodParameterCollection OutputParameters
get

The collection of output parameters.

Attention: add parameters before adding this Node to the OpcUaServer. Otherwise the parameters are not visible to a OpcUaClient .

Implements IServerMethodNode.