C# 클래스 MemoryBuffer.MemoryBufferNodeManager

A node manager for a variety of test data.
상속: Opc.Ua.Sample.SampleNodeManager
파일 보기 프로젝트 열기: 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.

MemoryBufferNodeManager ( IServerInternal server, ApplicationConfiguration configuration ) : System

Initializes the node manager.

보호된 메소드들

메소드 설명
CreateMonitoredItem ( ISystemContext context, NodeState source, uint subscriptionId, double publishingInterval, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoredItemCreateRequest itemToCreate, long &globalIdCounter, MonitoringFilterResult &filterError, IMonitoredItem &monitoredItem ) : ServiceResult

Creates a new set of monitored items for a set of variables.

This method only handles data change subscriptions. Event subscriptions are created by the SDK.

DeleteMonitoredItem ( ISystemContext context, IMonitoredItem monitoredItem, bool &processed ) : ServiceResult

Deletes a monitored item.

GetManagerHandle ( ISystemContext context, Opc.Ua.NodeId nodeId, NodeState>.IDictionary cache ) : object

Returns a unique handle for the node.

This must efficiently determine whether the node belongs to the node manager. If it does belong to NodeManager it should return a handle that does not require the NodeId to be validated again when the handle is passed into other methods such as 'Read' or 'Write'.

LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection

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

ModifyMonitoredItem ( ISystemContext context, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, IMonitoredItem monitoredItem, MonitoredItemModifyRequest itemToModify, MonitoringFilterResult &filterError ) : ServiceResult

Modifies the parameters for a monitored item.

SetMonitoringMode ( ISystemContext context, IMonitoredItem monitoredItem, MonitoringMode monitoringMode, bool &processed ) : ServiceResult

Changes the monitoring mode for an item.

메소드 상세

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

CreateMonitoredItem() 보호된 메소드

Creates a new set of monitored items for a set of variables.
This method only handles data change subscriptions. Event subscriptions are created by the SDK.
protected CreateMonitoredItem ( ISystemContext context, NodeState source, uint subscriptionId, double publishingInterval, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, MonitoredItemCreateRequest itemToCreate, long &globalIdCounter, MonitoringFilterResult &filterError, IMonitoredItem &monitoredItem ) : ServiceResult
context ISystemContext
source NodeState
subscriptionId uint
publishingInterval double
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
itemToCreate Opc.Ua.MonitoredItemCreateRequest
globalIdCounter long
filterError MonitoringFilterResult
monitoredItem IMonitoredItem
리턴 Opc.Ua.ServiceResult

DeleteAddressSpace() 공개 메소드

Frees any resources allocated for the address space.
public DeleteAddressSpace ( ) : void
리턴 void

DeleteMonitoredItem() 보호된 메소드

Deletes a monitored item.
protected DeleteMonitoredItem ( ISystemContext context, IMonitoredItem monitoredItem, bool &processed ) : ServiceResult
context ISystemContext
monitoredItem IMonitoredItem
processed bool
리턴 Opc.Ua.ServiceResult

GetManagerHandle() 보호된 메소드

Returns a unique handle for the node.
This must efficiently determine whether the node belongs to the node manager. If it does belong to NodeManager it should return a handle that does not require the NodeId to be validated again when the handle is passed into other methods such as 'Read' or 'Write'.
protected GetManagerHandle ( ISystemContext context, Opc.Ua.NodeId nodeId, NodeState>.IDictionary cache ) : object
context ISystemContext
nodeId Opc.Ua.NodeId
cache NodeState>.IDictionary
리턴 object

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

MemoryBufferNodeManager() 공개 메소드

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

ModifyMonitoredItem() 보호된 메소드

Modifies the parameters for a monitored item.
protected ModifyMonitoredItem ( ISystemContext context, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, IMonitoredItem monitoredItem, MonitoredItemModifyRequest itemToModify, MonitoringFilterResult &filterError ) : ServiceResult
context ISystemContext
diagnosticsMasks DiagnosticsMasks
timestampsToReturn TimestampsToReturn
monitoredItem IMonitoredItem
itemToModify Opc.Ua.MonitoredItemModifyRequest
filterError MonitoringFilterResult
리턴 Opc.Ua.ServiceResult

SetMonitoringMode() 보호된 메소드

Changes the monitoring mode for an item.
protected SetMonitoringMode ( ISystemContext context, IMonitoredItem monitoredItem, MonitoringMode monitoringMode, bool &processed ) : ServiceResult
context ISystemContext
monitoredItem IMonitoredItem
monitoringMode MonitoringMode
processed bool
리턴 Opc.Ua.ServiceResult