.NET Based OPC UA Client/Server SDK
3.1.0.500
|
A class that can be used to access server functionality internally. More...
Public Member Functions | |
ServerInternalClient (ServerManager server) | |
Initializes a new instance of the ServerInternalClient class. More... | |
NodeMetadata | GetNodeMetadata (RequestContext context, NodeId nodeId, NodeMetadataMask fieldsToReturn, NodeClass nodeClassFilter) |
Gets the node metadata. More... | |
NodeMetadata | GetNodeMetadata (RequestContext context, NodeAttributeHandle nodeHandle, NodeMetadataMask fieldsToReturn, NodeClass nodeClassFilter) |
Gets the node metadata. More... | |
NodeMetadata | GetNodeMetadata (RequestContext context, BrowseHandle browseHandle, NodeMetadataMask fieldsToReturn, NodeClass nodeClassFilter) |
Gets the node metadata. More... | |
ReferenceDescription | GetReferenceDescription (RequestContext context, ExpandedNodeId nodeId, NodeId referenceTypeId, bool isForward, uint resultMask, uint nodeClassMask) |
Gets the reference description. More... | |
Node | GetNodeAttributes (RequestContext context, NodeId nodeId, NodeClass expectedNodeClass) |
Gets the node attributes. More... | |
T | ReadAttribute< T > (RequestContext context, NodeId nodeId, uint attributeId, T defaultValue) |
Reads the attribute. More... | |
T | ReadValue< T > (RequestContext context, NodeId nodeId, QualifiedName componentName, T defaultValue) |
Reads the component value. More... | |
T | ReadValue< T > (RequestContext context, NodeId nodeId, QualifiedName[] browsePath, T defaultValue) |
Reads the component value. More... | |
StatusCode | WriteAttribute (RequestContext context, NodeId nodeId, uint attributeId, Variant valueToWrite) |
Writes the attribute. More... | |
StatusCode | WriteValue (RequestContext context, NodeId nodeId, QualifiedName componentName, Variant valueToWrite) |
Reads the component value. More... | |
StatusCode | WriteValue (RequestContext context, NodeId nodeId, QualifiedName[] browsePath, Variant valueToWrite) |
Reads the component value. More... | |
List< ReferenceDescription > | Browse (RequestContext context, ViewHandle viewToBrowse, BrowseDescription nodeToBrowse) |
Returns the ReferenceDescriptions for the nodeToBrowse. More... | |
StatusCode | Browse (RequestContext context, ViewHandle viewHandle, uint maxReferencesPerNode, BrowseDescription nodeToBrowse, INodeManager nodeManager, List< ReferenceDescription > references, out ContinuationPoint continuationPoint) |
Browses the specified context. More... | |
StatusCode | BrowseNext (RequestContext context, ContinuationPoint continuationPoint, List< ReferenceDescription > references, out ContinuationPoint revisedContinuationPoint) |
Browses the specified context. More... | |
StatusCode | ReleaseContinuationPoint (RequestContext context, ContinuationPoint continuationPoint) |
Browses the specified context. More... | |
StatusCode | Translate (RequestContext context, NodeId nodeToTranslate, RelativePath relativePath, uint index, BrowsePathResult result) |
Translates the relativePath from the nodeToTranslate. More... | |
List< DataValue > | Read (RequestContext context, TimestampsToReturn timestampsToReturn, IList< ReadValueId > nodesToRead) |
Reads the values of the specified nodes. More... | |
List< StatusCode > | Write (RequestContext context, IList< WriteValue > nodesToWrite) |
Writes the values of the specified nodes. More... | |
List< CallMethodResult > | Call (RequestContext context, IList< CallMethodRequest > methodsToCall) |
Calls the values of the specified nodes. More... | |
List< MonitoredItemCreateResult > | CreateDataMonitoredItems (RequestContext context, IList< InternalClientFastDataMonitoredItem > monitoredItems) |
Creates the data monitored item. More... | |
List< MonitoredItemCreateResult > | CreateDataMonitoredItems (RequestContext context, IList< InternalClientFullDataMonitoredItem > monitoredItems) |
Creates the data monitored item. More... | |
List< MonitoredItemModifyResult > | ModifyDataMonitoredItems (RequestContext context, IList< MonitoredItemModifyRequest > itemsToModify) |
Modifies the data monitored item. More... | |
List< StatusCode > | DeleteDataMonitoredItems (RequestContext context, IList< uint > itemsToDelete) |
Deletes the data monitored item. More... | |
List< MonitoredItemCreateResult > | CreateEventMonitoredItems (RequestContext context, IList< InternalClientFastEventMonitoredItem > monitoredItems) |
Creates the event monitored item. More... | |
List< MonitoredItemCreateResult > | CreateEventMonitoredItems (RequestContext context, IList< InternalClientFullEventMonitoredItem > monitoredItems) |
Creates a list of event monitored items. More... | |
List< MonitoredItemModifyResult > | ModifyEventMonitoredItems (RequestContext context, IList< MonitoredItemModifyRequest > itemsToModify) |
Modifies the data monitored item. More... | |
List< StatusCode > | DeleteEventMonitoredItems (RequestContext context, IList< uint > itemsToDelete) |
Deletes the data monitored item. More... | |
List< StatusCode > | SetMonitoringMode (RequestContext context, MonitoringMode monitoringMode, IList< uint > itemsToModify) |
Sets the monitoring mode. More... | |
A class that can be used to access server functionality internally.
|
inline |
Initializes a new instance of the ServerInternalClient class.
server | The server. |
|
inline |
Returns the ReferenceDescriptions for the nodeToBrowse.
context | The request context of the caller. In most cases Server.DefaultRequestContext should be used. |
viewToBrowse | The ViewHandle for the browse call. If the server does not support views, null shall be used for the call. |
nodeToBrowse | The information about the stating node and the parameters for the Browse call. To get the TypeDefinition and the ReferenceType of the targets you have to specify them in the ResultMask. |
The following code example code returns all nodes that are referenced with hierarchical references from the Objects folder.
|
inline |
Browses the specified context.
|
inline |
Browses the specified context.
|
inline |
Calls the values of the specified nodes.
|
inline |
Creates the data monitored item.
|
inline |
Creates the data monitored item.
|
inline |
Creates the event monitored item.
|
inline |
Creates a list of event monitored items.
Sample code:
|
inline |
Deletes the data monitored item.
|
inline |
Deletes the data monitored item.
|
inline |
Gets the node attributes.
context | The request context. |
nodeId | The node id. |
expectedNodeClass | The expected node class. |
|
inline |
Gets the node metadata.
context | The request context. |
nodeId | The node id. |
fieldsToReturn | The fields to return. |
nodeClassFilter | The node class filter. |
|
inline |
Gets the node metadata.
context | The request context. |
nodeHandle | The node handle. |
fieldsToReturn | The fields to return. |
nodeClassFilter | The node class filter. |
|
inline |
Gets the node metadata.
context | The request context. |
browseHandle | The browse handle. |
fieldsToReturn | The fields to return. |
nodeClassFilter | The node class filter. |
|
inline |
Gets the reference description.
context | The request context. |
nodeId | The node id. |
referenceTypeId | The reference type id. |
isForward | if set to true [is forward]. |
resultMask | The result mask. |
nodeClassMask | The node class mask. |
|
inline |
Modifies the data monitored item.
|
inline |
Modifies the data monitored item.
|
inline |
Reads the values of the specified nodes.
|
inline |
Reads the attribute.
T |
context | The request context. |
nodeId | The node id. |
attributeId | The attribute id. |
defaultValue | The default value. |
|
inline |
Reads the component value.
T |
context | The request context. |
nodeId | The node id. |
componentName | Name of the component. |
defaultValue | The default value. |
|
inline |
Reads the component value.
T |
context | The request context. |
nodeId | The node id. |
browsePath | The browse path. |
defaultValue | The default value. |
|
inline |
Browses the specified context.
|
inline |
Sets the monitoring mode.
context | The request context. |
monitoringMode | The monitoring mode. |
itemsToModify | The items to modify. |
|
inline |
Translates the relativePath from the nodeToTranslate.
context | The request context of the caller. In most cases Server.DefaultRequestContext should be used. |
nodeToTranslate | The node to translate. |
relativePath | The relative path to the expected results |
index | The current index in the relativePath. Should be 0 in the most cases. |
result | The result will contain the found nodes. |
The following code example code is used to find a node in the DemoServer.
|
inline |
Writes the values of the specified nodes.
|
inline |
Writes the attribute.
context | The request context. |
nodeId | The node id. |
attributeId | The attribute id. |
valueToWrite | The value to write. |
|
inline |
Reads the component value.
context | The request context. |
nodeId | The node id. |
componentName | Name of the component. |
valueToWrite | The value to write. |
|
inline |
Reads the component value.
context | The request context. |
nodeId | The node id. |
browsePath | The browse path. |
valueToWrite | The value to write. |