CVB.Net 14.0
ServerStringNode Class Reference

OPC/UA OpcUaServer string variable node. More...

Inherits ServerVariableNodeBase, and IStringNode.

Public Member Functions

 ServerStringNode (int namespaceIndex, string identifier, VariableType variableType, IServerNode parent)
 Creates a new string node that is connected to a OpcUaServer. at the parent node. More...
 
override string ToString ()
 Gets the string representation of this node. More...
 
- Public Member Functions inherited from NodeBase
void Dispose ()
 Disposes the native object wrapped by this object immediately. More...
 

Properties

string Value [get, set]
 Gets/sets the variable's value.
 
- Properties inherited from ServerVariableNodeBase
override OpcUaServer Server [get, set]
 Gets the parent OpcUaServer object.
 
- 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 IStringNode
string Value [get, set]
 Gets/sets the variable's value.
 

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...
 
- Protected Member Functions inherited from ServerVariableNodeBase
 ServerVariableNodeBase (IntPtr handle, OpcUaServer parent)
 Creates a new OpcUaServer variable node. More...
 
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...
 
- 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.
 
- Events inherited from ServerVariableNodeBase
EventHandler Read
 Event that is signaled when the OpcUaClient reads a value.
 
EventHandler Written
 Event that is signaled when the OpcUaClient has written a value.
 
- 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 IServerVariableNode
EventHandler Read
 Event that is signaled when the OpcUaClient reads a value.
 
EventHandler Written
 Event that is signaled when the OpcUaClient has written a value.
 

Detailed Description

OPC/UA OpcUaServer string variable node.

Constructor & Destructor Documentation

◆ ServerStringNode()

ServerStringNode ( int  namespaceIndex,
string  identifier,
VariableType  variableType,
IServerNode  parent 
)

Creates a new string 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.
variableTypeSpecifies whether this is a VariableType.DataVariable or VariableType.Property.
parentThe parent node to add this node to.

Member Function Documentation

◆ ToString()

override string ToString ( )

Gets the string representation of this node.

Returns
Value as string.