Method | Description | |
---|---|---|
AddReferences ( IDictionary |
This method is used to add bi-directional references to nodes from other node managers. The additional references are optional, however, the NodeManager should support them. |
|
Browse ( |
Browses the references from a node managed by the node manager. The continuation point is created for every browse operation and contains the browse parameters. The node manager can store its state information in the Data and Index properties. |
|
Call ( |
Calls a method on the specified nodes.
|
|
ConditionRefresh ( |
Tells the node manager to refresh any conditions associated with the specified monitored items. This method is called when the condition refresh method is called for a subscription. The node manager must create a refresh event for each condition monitored by the subscription. |
|
CreateAddressSpace ( IDictionary |
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. |
|
CreateMonitoredItems ( |
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. |
|
CreateNode ( |
Creates a new instance and assigns unique identifiers to all children.
|
|
DeleteAddressSpace ( ) : void |
Frees any resources allocated for the address space.
|
|
DeleteMonitoredItems ( |
Deletes a set of monitored items.
|
|
DeleteNode ( |
Deletes a node and all of its children.
|
|
DeleteReference ( object sourceHandle, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBiDirectional ) : ServiceResult |
This method is used to delete bi-directional references to nodes from other node managers.
|
|
Dispose ( ) : void |
Frees any unmanaged resources.
|
|
Find ( NodeId nodeId ) : NodeState |
Returns the state object for the specified node if it exists.
|
|
FindPredefinedNode ( NodeId nodeId, |
Finds the specified and checks if it is of the expected type.
|
|
GetManagerHandle ( NodeId nodeId ) : 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'. |
|
GetNodeMetadata ( |
Returns the basic metadata for the node. Returns null if the node does not exist. This method validates any placeholder handle. |
|
HistoryRead ( |
Reads the history for the specified nodes.
|
|
HistoryUpdate ( |
Updates the history for the specified nodes.
|
|
LoadPredefinedNodes ( ISystemContext context, |
Loads a node set from a file or resource and addes them to the set of predefined nodes.
|
|
ModifyMonitoredItems ( |
Modifies the parameters for a set of monitored items.
|
|
New ( ISystemContext context, NodeState node ) : NodeId |
Creates the NodeId for the specified node.
|
|
Read ( |
Reads the value for the specified attribute.
|
|
SampleNodeManager ( IServerInternal server ) : System |
Initializes the node manager.
|
|
SetMonitoringMode ( |
Changes the monitoring mode for a set of monitored items.
|
|
SubscribeToAllEvents ( |
Subscribes or unsubscribes to events produced by all event sources. This method is called when a event subscription is created or deleted. The node manager must start/stop reporting events for all objects that it manages. |
|
SubscribeToEvents ( |
Subscribes or unsubscribes to events produced by the specified source. This method is called when a event subscription is created or deletes. The node manager must start/stop reporting events for the specified object and all objects below it in the notifier hierarchy. |
|
TranslateBrowsePath ( |
Returns the target of the specified browse path fragment(s). If reference exists but the node manager does not know the browse name it must return the NodeId as an unresolvedTargetIds. The caller will try to check the browse name. |
|
Write ( |
Writes the value for the specified attributes.
|
Method | Description | |
---|---|---|
AddBehaviourToPredefinedNode ( ISystemContext context, NodeState predefinedNode ) : NodeState |
Replaces the generic node with a node specific to the model.
|
|
AddExternalReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, IDictionary |
Adds an external reference to the dictionary.
|
|
AddPredefinedNode ( ISystemContext context, NodeState node ) : void |
Recursively indexes the node and its children.
|
|
AddReverseReferences ( IDictionary |
Ensures that all reverse references exist.
|
|
AddRootNotifier ( NodeState notifier ) : void |
Add the node to the set of root notifiers.
|
|
AddTypesToTypeTree ( BaseTypeState type ) : void |
Recursively adds the types to the type tree.
|
|
AddTypesToTypeTree ( NodeId typeId ) : void |
Recursively adds the types to the type tree.
|
|
Call ( ISystemContext context, CallMethodRequest methodToCall, NodeState source, MethodState method, CallMethodResult result ) : ServiceResult |
Calls a method on an object.
|
|
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.
|
|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
GetManagerHandle ( ISystemContext context, NodeId nodeId, NodeState>.IDictionary |
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'. |
|
HistoryRead ( ISystemContext context, NodeState source, |
Reads the history for a single node which has already been validated.
|
|
HistoryReadAtTime ( ISystemContext context, BaseVariableState source, ReadAtTimeDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult |
Reads the history for the variable value.
|
|
HistoryReadProcessed ( ISystemContext context, BaseVariableState source, ReadProcessedDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult |
Reads the processed history for the variable value.
|
|
HistoryReadRaw ( ISystemContext context, BaseVariableState source, ReadRawModifiedDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult |
Reads the raw history for the variable value.
|
|
IsHandleInNamespace ( object managerHandle ) : NodeState |
Returns the node if the handle refers to a node managed by this manager.
|
|
IsNodeIdInNamespace ( NodeId nodeId ) : bool |
Returns true if the namespace for the node id is one of the namespaces managed by the node manager.
|
|
LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection |
Loads a node set from a file or resource and addes them to the set of predefined nodes.
|
|
LoadPredefinedNodes ( ISystemContext context, IDictionary |
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.
|
|
OnCreateMonitoredItem ( ISystemContext systemContext, MonitoredItemCreateRequest itemToCreate, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem ) : void |
Does any processing after a monitored item is created.
|
|
OnDeleteMonitoredItem ( ISystemContext systemContext, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem ) : void |
Does any processing after a monitored item is deleted.
|
|
OnModifyMonitoredItem ( ISystemContext systemContext, MonitoredItemModifyRequest itemToModify, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem, double previousSamplingInterval ) : void |
Does any processing after a monitored item is created.
|
|
OnNodeRemoved ( NodeState node ) : void |
Called after a node has been deleted.
|
|
OnSetMonitoringMode ( ISystemContext systemContext, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem, MonitoringMode previousMode, MonitoringMode currentMode ) : void |
Does any processing after a monitored item is created.
|
|
OnSubscribeToEvents ( ISystemContext systemContext, MonitoredNode monitoredNode, IEventMonitoredItem monitoredItem ) : void |
Does any processing after a monitored item is subscribed to.
|
|
OnUnsubscribeToEvents ( ISystemContext systemContext, MonitoredNode monitoredNode, IEventMonitoredItem monitoredItem ) : void |
Does any processing after a monitored item is subscribed to.
|
|
RemovePredefinedNode ( ISystemContext context, NodeState node, List |
Recursively indexes the node and its children.
|
|
RemoveRootNotifier ( NodeState notifier ) : void |
Remove the node from the set of root notifiers.
|
|
SetMonitoringMode ( ISystemContext context, IMonitoredItem monitoredItem, MonitoringMode monitoringMode, bool &processed ) : ServiceResult |
Changes the monitoring mode for an item.
|
|
SubscribeToAllEvents ( ISystemContext systemContext, IEventMonitoredItem monitoredItem, bool unsubscribe, NodeState source ) : void |
Subscribes/unsubscribes to all events produced by the specified node.
|
|
ValidateDataChangeFilter ( ISystemContext context, NodeState source, uint attributeId, ExtensionObject requestedFilter, DataChangeFilter &filter, Range &range ) : ServiceResult |
Validates a data change filter provided by the client.
|
|
ValidateNode ( |
Verifies that the specified node exists.
|
Method | Description | |
---|---|---|
CalculateSamplingInterval ( BaseVariableState variable, double samplingInterval ) : double |
Calculates the sampling interval.
|
|
CreateSampledItem ( double samplingInterval, DataChangeMonitoredItem monitoredItem ) : void |
Creates a new sampled item.
|
|
DeleteSampledItem ( DataChangeMonitoredItem monitoredItem ) : void |
Deletes a sampled item.
|
|
DoSample ( object state ) : void |
Polls each monitored item which requires sample.
|
|
GetReferenceDescription ( |
Returns the references for the node that meets the criteria specified.
|
protected AddBehaviourToPredefinedNode ( ISystemContext context, NodeState predefinedNode ) : NodeState | ||
context | ISystemContext | |
predefinedNode | NodeState | |
return | NodeState |
protected AddExternalReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, IDictionary |
||
sourceId | NodeId | |
referenceTypeId | NodeId | |
isInverse | bool | |
targetId | NodeId | |
externalReferences | IDictionary |
|
return | void |
protected AddPredefinedNode ( ISystemContext context, NodeState node ) : void | ||
context | ISystemContext | |
node | NodeState | |
return | void |
public AddReferences ( IDictionary |
||
references | IDictionary |
|
return | void |
protected AddReverseReferences ( IDictionary |
||
externalReferences | IDictionary |
A list of references to add to external targets. |
return | void |
protected AddRootNotifier ( NodeState notifier ) : void | ||
notifier | NodeState | |
return | void |
protected AddTypesToTypeTree ( BaseTypeState type ) : void | ||
type | BaseTypeState | |
return | void |
protected AddTypesToTypeTree ( NodeId typeId ) : void | ||
typeId | NodeId | |
return | void |
public Browse ( |
||
context | ||
continuationPoint | ||
references | IList |
|
return | void |
protected Call ( ISystemContext context, CallMethodRequest methodToCall, NodeState source, MethodState method, CallMethodResult result ) : ServiceResult | ||
context | ISystemContext | |
methodToCall | CallMethodRequest | |
source | NodeState | |
method | MethodState | |
result | CallMethodResult | |
return | ServiceResult |
public Call ( |
||
context | ||
methodsToCall | IList |
|
results | IList |
|
errors | IList |
|
return | void |
public ConditionRefresh ( |
||
context | ||
monitoredItems | IList |
|
return | ServiceResult |
public CreateAddressSpace ( IDictionary |
||
externalReferences | IDictionary |
|
return | void |
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 | MonitoredItemCreateRequest | |
globalIdCounter | long | |
filterError | MonitoringFilterResult | |
monitoredItem | IMonitoredItem | |
return | ServiceResult |
public CreateMonitoredItems ( |
||
context | ||
subscriptionId | uint | |
publishingInterval | double | |
timestampsToReturn | TimestampsToReturn | |
itemsToCreate | IList |
|
errors | IList |
|
filterErrors | IList |
|
monitoredItems | IList |
|
globalIdCounter | long | |
return | void |
public CreateNode ( |
||
context | The operation context. | |
parentId | NodeId | An optional parent identifier. |
referenceTypeId | NodeId | The reference type from the parent. |
browseName | QualifiedName | The browse name. |
instance | BaseInstanceState | The instance to create. |
return | NodeId |
protected DeleteMonitoredItem ( ISystemContext context, IMonitoredItem monitoredItem, bool &processed ) : ServiceResult | ||
context | ISystemContext | |
monitoredItem | IMonitoredItem | |
processed | bool | |
return | ServiceResult |
public DeleteMonitoredItems ( |
||
context | ||
monitoredItems | IList |
|
processedItems | IList |
|
errors | IList |
|
return | void |
public DeleteNode ( |
||
context | ||
nodeId | NodeId | |
return | bool |
public DeleteReference ( object sourceHandle, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBiDirectional ) : ServiceResult | ||
sourceHandle | object | |
referenceTypeId | NodeId | |
isInverse | bool | |
targetId | ExpandedNodeId | |
deleteBiDirectional | bool | |
return | ServiceResult |
public FindPredefinedNode ( NodeId nodeId, |
||
nodeId | NodeId | |
expectedType | ||
return | NodeState |
protected GetManagerHandle ( ISystemContext context, NodeId nodeId, NodeState>.IDictionary |
||
context | ISystemContext | |
nodeId | NodeId | |
cache | NodeState>.IDictionary | |
return | object |
public GetManagerHandle ( NodeId nodeId ) : object | ||
nodeId | NodeId | |
return | object |
public GetNodeMetadata ( |
||
context | ||
targetHandle | object | |
resultMask | BrowseResultMask | |
return |
protected HistoryRead ( ISystemContext context, NodeState source, |
||
context | ISystemContext | |
source | NodeState | |
details | ||
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodesToRead | HistoryReadValueId | |
result | HistoryReadResult | |
return | ServiceResult |
public HistoryRead ( |
||
context | ||
details | ||
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodesToRead | IList |
|
results | IList |
|
errors | IList |
|
return | void |
protected HistoryReadAtTime ( ISystemContext context, BaseVariableState source, ReadAtTimeDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult | ||
context | ISystemContext | |
source | BaseVariableState | |
details | ReadAtTimeDetails | |
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodeToRead | HistoryReadValueId | |
result | HistoryReadResult | |
return | ServiceResult |
protected HistoryReadProcessed ( ISystemContext context, BaseVariableState source, ReadProcessedDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult | ||
context | ISystemContext | |
source | BaseVariableState | |
details | ReadProcessedDetails | |
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodeToRead | HistoryReadValueId | |
result | HistoryReadResult | |
return | ServiceResult |
protected HistoryReadRaw ( ISystemContext context, BaseVariableState source, ReadRawModifiedDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, HistoryReadValueId nodeToRead, HistoryReadResult result ) : ServiceResult | ||
context | ISystemContext | |
source | BaseVariableState | |
details | ReadRawModifiedDetails | |
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodeToRead | HistoryReadValueId | |
result | HistoryReadResult | |
return | ServiceResult |
public HistoryUpdate ( |
||
context | ||
detailsType | ||
nodesToUpdate | IList |
|
results | IList |
|
errors | IList |
|
return | void |
protected IsHandleInNamespace ( object managerHandle ) : NodeState | ||
managerHandle | object | The handle to check. |
return | NodeState |
protected IsNodeIdInNamespace ( NodeId nodeId ) : bool | ||
nodeId | NodeId | The node id to check. |
return | bool |
protected LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection | ||
context | ISystemContext | |
return | NodeStateCollection |
public LoadPredefinedNodes ( ISystemContext context, |
||
context | ISystemContext | |
assembly | ||
resourcePath | string | |
externalReferences | IDictionary |
|
return | void |
protected LoadPredefinedNodes ( ISystemContext context, IDictionary |
||
context | ISystemContext | |
externalReferences | IDictionary |
|
return | void |
protected ModifyMonitoredItem ( ISystemContext context, DiagnosticsMasks diagnosticsMasks, TimestampsToReturn timestampsToReturn, IMonitoredItem monitoredItem, MonitoredItemModifyRequest itemToModify, MonitoringFilterResult &filterError ) : ServiceResult | ||
context | ISystemContext | |
diagnosticsMasks | DiagnosticsMasks | |
timestampsToReturn | TimestampsToReturn | |
monitoredItem | IMonitoredItem | |
itemToModify | MonitoredItemModifyRequest | |
filterError | MonitoringFilterResult | |
return | ServiceResult |
public ModifyMonitoredItems ( |
||
context | ||
timestampsToReturn | TimestampsToReturn | |
monitoredItems | IList |
|
itemsToModify | IList |
|
errors | IList |
|
filterErrors | IList |
|
return | void |
public New ( ISystemContext context, NodeState node ) : NodeId | ||
context | ISystemContext | The context. |
node | NodeState | The node. |
return | NodeId |
protected OnCreateMonitoredItem ( ISystemContext systemContext, MonitoredItemCreateRequest itemToCreate, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem ) : void | ||
systemContext | ISystemContext | |
itemToCreate | MonitoredItemCreateRequest | |
monitoredNode | MonitoredNode | |
monitoredItem | DataChangeMonitoredItem | |
return | void |
protected OnDeleteMonitoredItem ( ISystemContext systemContext, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem ) : void | ||
systemContext | ISystemContext | |
monitoredNode | MonitoredNode | |
monitoredItem | DataChangeMonitoredItem | |
return | void |
protected OnModifyMonitoredItem ( ISystemContext systemContext, MonitoredItemModifyRequest itemToModify, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem, double previousSamplingInterval ) : void | ||
systemContext | ISystemContext | |
itemToModify | MonitoredItemModifyRequest | |
monitoredNode | MonitoredNode | |
monitoredItem | DataChangeMonitoredItem | |
previousSamplingInterval | double | |
return | void |
protected OnNodeRemoved ( NodeState node ) : void | ||
node | NodeState | |
return | void |
protected OnSetMonitoringMode ( ISystemContext systemContext, MonitoredNode monitoredNode, DataChangeMonitoredItem monitoredItem, MonitoringMode previousMode, MonitoringMode currentMode ) : void | ||
systemContext | ISystemContext | |
monitoredNode | MonitoredNode | |
monitoredItem | DataChangeMonitoredItem | |
previousMode | MonitoringMode | |
currentMode | MonitoringMode | |
return | void |
protected OnSubscribeToEvents ( ISystemContext systemContext, MonitoredNode monitoredNode, IEventMonitoredItem monitoredItem ) : void | ||
systemContext | ISystemContext | |
monitoredNode | MonitoredNode | |
monitoredItem | IEventMonitoredItem | |
return | void |
protected OnUnsubscribeToEvents ( ISystemContext systemContext, MonitoredNode monitoredNode, IEventMonitoredItem monitoredItem ) : void | ||
systemContext | ISystemContext | |
monitoredNode | MonitoredNode | |
monitoredItem | IEventMonitoredItem | |
return | void |
public Read ( |
||
context | ||
maxAge | double | |
nodesToRead | IList |
|
values | IList |
|
errors | IList |
|
return | void |
protected RemovePredefinedNode ( ISystemContext context, NodeState node, List |
||
context | ISystemContext | |
node | NodeState | |
referencesToRemove | List |
|
return | void |
protected RemoveRootNotifier ( NodeState notifier ) : void | ||
notifier | NodeState | |
return | void |
public SampleNodeManager ( IServerInternal server ) : System | ||
server | IServerInternal | |
return | System |
protected SetMonitoringMode ( ISystemContext context, IMonitoredItem monitoredItem, MonitoringMode monitoringMode, bool &processed ) : ServiceResult | ||
context | ISystemContext | |
monitoredItem | IMonitoredItem | |
monitoringMode | MonitoringMode | |
processed | bool | |
return | ServiceResult |
public SetMonitoringMode ( |
||
context | ||
monitoringMode | MonitoringMode | |
monitoredItems | IList |
|
processedItems | IList |
|
errors | IList |
|
return | void |
public SubscribeToAllEvents ( |
||
context | ||
subscriptionId | uint | |
monitoredItem | IEventMonitoredItem | |
unsubscribe | bool | |
return | ServiceResult |
protected SubscribeToAllEvents ( ISystemContext systemContext, IEventMonitoredItem monitoredItem, bool unsubscribe, NodeState source ) : void | ||
systemContext | ISystemContext | |
monitoredItem | IEventMonitoredItem | |
unsubscribe | bool | |
source | NodeState | |
return | void |
public SubscribeToEvents ( |
||
context | ||
sourceId | object | |
subscriptionId | uint | |
monitoredItem | IEventMonitoredItem | |
unsubscribe | bool | |
return | ServiceResult |
public TranslateBrowsePath ( |
||
context | ||
sourceHandle | object | |
relativePath | RelativePathElement | |
targetIds | IList |
|
unresolvedTargetIds | IList |
|
return | void |
protected ValidateDataChangeFilter ( ISystemContext context, NodeState source, uint attributeId, ExtensionObject requestedFilter, DataChangeFilter &filter, Range &range ) : ServiceResult | ||
context | ISystemContext | The system context. |
source | NodeState | The node being monitored. |
attributeId | uint | The attribute being monitored. |
requestedFilter | ExtensionObject | The requested monitoring filter. |
filter | DataChangeFilter | The validated data change filter. |
range | Range | The EU range associated with the value if required by the filter. |
return | ServiceResult |
protected ValidateNode ( |
||
context | ||
node | NodeState | |
return | bool |
public Write ( |
||
context | ||
nodesToWrite | IList |
|
errors | IList |
|
return | void |