C# Класс Quickstarts.ViewsServer.ViewsNodeManager

A node manager for a server that exposes several variables.
Наследование: Opc.Ua.Server.CustomNodeManager2
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateAddressSpace ( IDictionary externalReferences ) : void

Does any initialization required before the address space can be used.

The externalReferences is an out parameter that allows the node manager to link to nodes in other node managers. For example, the 'Objects' node is managed by the CoreNodeManager and should have a reference to the root folder node(s) exposed by this node manager.

DeleteAddressSpace ( ) : void

Frees any resources allocated for the address space.

New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId

Creates the NodeId for the specified node.

ViewsNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : System

Initializes the node manager.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

GetManagerHandle ( ServerSystemContext context, Opc.Ua.NodeId nodeId, NodeState>.IDictionary cache ) : NodeHandle

Returns a unique handle for the node.

IsNodeInView ( ServerSystemContext context, ContinuationPoint continuationPoint, NodeState node ) : bool

Checks if the node is in the view.

IsReferenceInView ( ServerSystemContext context, ContinuationPoint continuationPoint, IReference reference ) : bool

Checks if the reference is in the view.

LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection

Loads a node set from a file or resource and addes them to the set of predefined nodes.

ValidateNode ( ServerSystemContext context, Opc handle, NodeState>.IDictionary cache ) : NodeState

Verifies that the specified node exists.

Описание методов

CreateAddressSpace() публичный Метод

Does any initialization required before the address space can be used.
The externalReferences is an out parameter that allows the node manager to link to nodes in other node managers. For example, the 'Objects' node is managed by the CoreNodeManager and should have a reference to the root folder node(s) exposed by this node manager.
public CreateAddressSpace ( IDictionary externalReferences ) : void
externalReferences IDictionary
Результат void

DeleteAddressSpace() публичный Метод

Frees any resources allocated for the address space.
public DeleteAddressSpace ( ) : void
Результат void

Dispose() защищенный Метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetManagerHandle() защищенный Метод

Returns a unique handle for the node.
protected GetManagerHandle ( ServerSystemContext context, Opc.Ua.NodeId nodeId, NodeState>.IDictionary cache ) : NodeHandle
context Opc.Ua.Server.ServerSystemContext
nodeId Opc.Ua.NodeId
cache NodeState>.IDictionary
Результат Opc.Ua.Server.NodeHandle

IsNodeInView() защищенный Метод

Checks if the node is in the view.
protected IsNodeInView ( ServerSystemContext context, ContinuationPoint continuationPoint, NodeState node ) : bool
context Opc.Ua.Server.ServerSystemContext
continuationPoint Opc.Ua.Server.ContinuationPoint
node NodeState
Результат bool

IsReferenceInView() защищенный Метод

Checks if the reference is in the view.
protected IsReferenceInView ( ServerSystemContext context, ContinuationPoint continuationPoint, IReference reference ) : bool
context Opc.Ua.Server.ServerSystemContext
continuationPoint Opc.Ua.Server.ContinuationPoint
reference IReference
Результат bool

LoadPredefinedNodes() защищенный Метод

Loads a node set from a file or resource and addes them to the set of predefined nodes.
protected LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection
context ISystemContext
Результат NodeStateCollection

New() публичный Метод

Creates the NodeId for the specified node.
public New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId
context ISystemContext
node NodeState
Результат Opc.Ua.NodeId

ValidateNode() защищенный Метод

Verifies that the specified node exists.
protected ValidateNode ( ServerSystemContext context, Opc handle, NodeState>.IDictionary cache ) : NodeState
context Opc.Ua.Server.ServerSystemContext
handle Opc
cache NodeState>.IDictionary
Результат NodeState

ViewsNodeManager() публичный Метод

Initializes the node manager.
public ViewsNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : System
server IServerInternal
configuration ApplicationConfiguration
Результат System