C# 클래스 Quickstarts.MethodsServer.MethodsNodeManager

A node manager for a server that exposes several variables.
상속: Opc.Ua.Server.CustomNodeManager2
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

공개 메소드들

메소드 설명
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.

MethodsNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : System

Initializes the node manager.

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

Creates the NodeId for the specified node.

OnStart ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult

Called when the Start method is called.

보호된 메소드들

메소드 설명
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.

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

Verifies that the specified node exists.

비공개 메소드들

메소드 설명
OnUpdateProcess ( object state ) : void

Called when updating the process.

메소드 상세

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

MethodsNodeManager() 공개 메소드

Initializes the node manager.
public MethodsNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : System
server IServerInternal
configuration ApplicationConfiguration
리턴 System

New() 공개 메소드

Creates the NodeId for the specified node.
public New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId
context ISystemContext
node NodeState
리턴 Opc.Ua.NodeId

OnStart() 공개 메소드

Called when the Start method is called.
public OnStart ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult
context ISystemContext The context.
method Opc.Ua.MethodState The method.
inputArguments IList The input arguments.
outputArguments IList The output arguments.
리턴 Opc.Ua.ServiceResult

ValidateNode() 보호된 메소드

Verifies that the specified node exists.
protected ValidateNode ( ServerSystemContext context, NodeHandle handle, NodeState>.IDictionary cache ) : NodeState
context Opc.Ua.Server.ServerSystemContext
handle Opc.Ua.Server.NodeHandle
cache NodeState>.IDictionary
리턴 NodeState