C# Class Opc.Ua.Server.CoreNodeManager

Inheritance: INodeManager, IDisposable
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, bool bidirectional ) : ServiceResult

Adds a reference between two existing nodes.

AddReferences ( IDictionary references ) : void This method must not be called without first acquiring
AttachNode ( ILocalNode node ) : void

Attaches a node to the address space.

Browse ( OperationContext context, ContinuationPoint &continuationPoint, IList references ) : void
ChangeTypeDefinition ( NodeId instanceId, NodeId typeDefinitionId ) : void

Changes the type definition for an instance.

CheckNodeClassMask ( uint nodeClassMask, NodeClass nodeClass ) : bool

Returns true if the node class matches the node class mask.

ConditionRefresh ( OperationContext context, IList monitoredItems ) : ServiceResult
CoreNodeManager ( IServerInternal server, ApplicationConfiguration configuration, ushort dynamicNamespaceIndex ) : System

Initializes the object with default values.

CreateAddressSpace ( IDictionary externalReferences ) : void Populates the NodeManager by loading the standard nodes from an XML file stored as an embedded resource.
CreateDataType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, bool isAbstract, NodeId>.IDictionary encodings ) : NodeId

Creates an DataType node in the address space.

CreateMethod ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, MethodAttributes attributes ) : NodeId

Creates an Method node in the address space.

CreateMonitoredItems ( OperationContext context, uint subscriptionId, double publishingInterval, TimestampsToReturn timestampsToReturn, IList itemsToCreate, IList errors, IList filterErrors, IList monitoredItems, long &globalIdCounter ) : void

Creates a set of monitored items.

CreateObject ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, ObjectAttributes attributes, ExpandedNodeId typeDefinitionId ) : NodeId

Creates an Object node in the address space.

CreateObjectType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, ObjectTypeAttributes attributes ) : NodeId

Creates an ObjectType node in the address space.

CreateReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, bool bidirectional ) : void

Adds a reference between two existing nodes.

CreateReferenceType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, LocalizedText inverseName, bool isAbstract, bool symmetric ) : NodeId

Creates an ReferenceType node with the specified node id.

CreateUniqueNodeId ( ) : NodeId

Creates a unique node identifier.

CreateVariableType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, VariableTypeAttributes attributes ) : NodeId

Creates an VariableType node in the address space.

DeleteAddressSpace ( ) : void Disposes all of the nodes.
DeleteMonitoredItems ( OperationContext context, IList monitoredItems, IList processedItems, IList errors ) : void

Deletes a set of monitored items.

DeleteNode ( NodeId nodeId, bool deleteChildren, bool silent ) : void

Deletes a node from the address sapce.

DeleteReference ( object sourceHandle, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBidirectional ) : ServiceResult

Deletes a reference.

DeleteReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBidirectional ) : void

Deletes a reference.

Dispose ( ) : void

Frees any unmanaged resources.

ExportNode ( ILocalNode node, NodeSet nodeSet, bool instance ) : void

Exports a node to a nodeset.

ExportNode ( NodeId nodeId, NodeSet nodeSet ) : void

Exports a node to a nodeset.

Find ( NodeId sourceId, string browsePath ) : NodeId

Returns the first target that matches the browse path.

FindInstanceDeclaration ( ILocalNode parent, QualifiedName browseName ) : ILocalNode

Returns the instance declarations that match the browse name.

This function recusively searches the fully inheirited type for matching instance declarations. It then follows the HasModelParent reference to find nested instance declarations in the fully inheirited type for the parent(s).

FindLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse ) : NodeIdCollection

Returns all targets of the specified reference.

FindTargetId ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : NodeId

Returns the id the first node with the specified browse name if it exists. null otherwise

GetInstanceDeclarations ( NodeId typeId, IList browsePath ) : IList

Returns a list of children of the node with the specified browse path.

This methods returns all nodes in the fully inhierited type. if the browsePath is null then the immediate children of the type node are returned.

GetLocalNode ( ExpandedNodeId nodeId ) : ILocalNode

Returns a node managed by the manager with the specified node id.

GetLocalNode ( NodeId nodeId ) : ILocalNode

Returns a node managed by the manager with the specified node id.

GetLocalNode ( NodeId nodeId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, QualifiedName browseName ) : ILocalNode

Returns a node managed by the manager with the specified node id.

GetLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes ) : IList

Returns a list of nodes which are targets of the specified references.

GetManagerHandle ( NodeId nodeId ) : object
GetNamespaceIndex ( string namespaceUri ) : ushort

Returns an index for the NamespaceURI (Adds it to the server namespace table if it does not already exist).

Returns the server's default index (1) if the namespaceUri is empty or null.

GetNodeMetadata ( OperationContext context, object targetHandle, BrowseResultMask resultMask ) : NodeMetadata
GetTargetNode ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, QualifiedName browseName ) : ILocalNode

Returns a node managed by the manager that has the specified browse name.

HasLock ( ) : bool

Returns true if the current thread has the lock on the node manager.

HistoryRead ( OperationContext context, HistoryReadDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, IList nodesToRead, IList results, IList errors ) : void
ImportNodes ( ISystemContext context, IEnumerable predefinedNodes ) : void

Imports the nodes from a dictionary of NodeState objects.

ModifyMonitoredItems ( OperationContext context, TimestampsToReturn timestampsToReturn, IList monitoredItems, IList itemsToModify, IList errors, IList filterErrors ) : void

Modifies a set of monitored items.

Read ( OperationContext context, double maxAge, IList nodesToRead, IList values, IList errors ) : void
ReferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode

Adds a reference to a shared child node.

RegisterSource ( NodeId nodeId, object source, object handle, bool isEventSource ) : void

Registers a source for a node.

The source could be one or more of IDataSource, IEventSource, ICallable, IHistorian or IViewManager

ReplaceNode ( ILocalNode existingNode, ILocalNode newNode ) : void

Replaces a node in the address.

SetMonitoringMode ( OperationContext context, MonitoringMode monitoringMode, IList monitoredItems, IList processedItems, IList errors ) : void

Changes the monitoring mode for a set of monitored items.

SubscribeToAllEvents ( OperationContext context, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : ServiceResult
SubscribeToEvents ( OperationContext context, object sourceId, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : ServiceResult
TranslateBrowsePath ( NodeId sourceId, RelativePath relativePath ) : IList

Returns a list of targets the match the browse path.

TranslateBrowsePath ( NodeId sourceId, string browsePath ) : IList

Returns a list of targets the match the browse path.

TranslateBrowsePath ( OperationContext context, NodeId sourceId, RelativePath relativePath ) : IList

Returns a list of targets the match the browse path.

TranslateBrowsePath ( OperationContext context, NodeId sourceId, string browsePath ) : IList

Returns a list of targets the match the browse path.

TranslateBrowsePath ( OperationContext context, object sourceHandle, RelativePathElement relativePath, IList targetIds, IList unresolvedTargetIds ) : void
UnreferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode

Adds a reference to a shared child node.

UnregisterSource ( object source ) : void

Called when the source is no longer used.

When a source disappears it must either delete all of its nodes from the address space or unregister itself their source by calling RegisterSource with source == null. After doing that the source must call this method.

UpdateDataType ( NodeId nodeId, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, bool isAbstract ) : void

Updates a DataType node in the address space.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
AddNode ( ILocalNode node ) : void

Adds a node to the address space.

AddReference ( ILocalNode source, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId ) : void

Adds a reference to the address space.

AddReference ( ILocalNode source, NodeId referenceTypeId, bool isInverse, ILocalNode target, bool bidirectional ) : void

Adds a reference to the address space.

AddReferenceToLocalNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool isInternal ) : void

Ensures any changes to built-in nodes are reflected in the diagnostics node manager.

ApplyBrowseFilters ( IReference reference, BrowseDirection browseDirection, NodeId referenceTypeId, bool includeSubtypes ) : bool

Returns true is the target meets the filter criteria.

ApplyModellingRules ( ILocalNode instance, ILocalNode typeDefinition, ILocalNode templateDeclaration, ushort namespaceIndex ) : void
AttachNode ( ILocalNode node, bool isInternal ) : void

Attaches a node to the address space.

BuildDeclarationList ( DeclarationNode parent, List declarations ) : void

Builds a list of declarations from the nodes aggregated by a parent.

BuildDeclarationList ( ILocalNode typeDefinition, List declarations ) : void

Builds the list of declaration nodes for a type definition.

BuildInstanceList ( ILocalNode parent, string browsePath, ILocalNode>.IDictionary instances ) : void

Builds a table of instances indexed by browse path from the nodes aggregated by a parent

Call ( OperationContext context, IList methodsToCall, IList results, IList errors ) : void
CheckSourceHandle ( ILocalNode node, Type sourceType, int index, IDictionary sources ) : bool

Checks if the operation needs to be handled by an external source.

CreateUniqueNodeId ( ushort namespaceIndex ) : NodeId

Creates a new unique identifier for a node.

CreateVariable ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, VariableAttributes attributes, ExpandedNodeId typeDefinitionId ) : NodeId
DeleteNode ( ILocalNode node, bool deleteChildren, bool instance, Dictionary referencesToDelete ) : void

Deletes a node from the address sapce.

DeleteRegisteredSources ( ILocalNode existingNode ) : void

Deletes any sources for a node.

FindInstanceDeclarationsInParent ( ILocalNode node, List browsePath, List declarations ) : ILocalNode

Recursively finds the instance declarations in the model parent that match the browse path.

FindInstanceDeclarationsInType ( ExpandedNodeId instanceId, List browsePath, int index, List declarations ) : bool

Recursively finds the first instance declaration that matches the browse path.

FindInstanceDeclarationsInType ( ILocalNode type, List browsePath, List declarations ) : void

Recursively finds the instance declarations that match the browse path.

FindTopLevelModelParent ( ILocalNode instance ) : ILocalNode

Finds the top level model parent for an instance.

GetInstanceDeclarations ( ILocalNode type, IList browsePath, ILocalNode>.Dictionary targets ) : void
GetManagerHandle ( ExpandedNodeId nodeId ) : object
GetTargetNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, QualifiedName browseName ) : ILocalNode

Returns a node managed by the manager that has the specified browse name.

HistoryUpdate ( OperationContext context, Type detailsType, IList nodesToUpdate, IList results, IList errors ) : void
ImportNodes ( ISystemContext context, IEnumerable predefinedNodes, bool isInternal ) : void

Imports the nodes from a dictionary of NodeState objects.

IsExternalReferenceAllowed ( NodeId referenceTypeId ) : bool

Returns true if a one-way reference to external nodes is permitted.

OnDeleteReferences ( object state ) : void

Deletes the external references to a node in a background thread.

ReadEURange ( OperationContext context, ILocalNode node, Range &range ) : ServiceResult

Reads the EU Range for a variable.

SubscribeToEvents ( OperationContext context, ILocalNode node, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : void

Recursively subscribes to events for the notifiers in the tree.

UpdateAttributes ( ILocalNode node, NodeAttributes attributes ) : void

Updates the attributes for the node.

UpdateTypeDefinition ( ILocalNode instance, ExpandedNodeId typeDefinitionId ) : void

Updates the type definition for a node.

ValidateFilter ( NodeMetadata metadata, uint attributeId, ExtensionObject filter, bool &rangeRequired ) : ServiceResult

Validates a filter for a monitored item.

ValidateReference ( ILocalNode source, NodeId referenceTypeId, bool isInverse, NodeClass targetNodeClass ) : void

Verifies that the source and the target meet the restrictions imposed by the reference type.

Write ( OperationContext context, IList nodesToWrite, IList errors ) : void

Method Details

AddReference() public method

Adds a reference between two existing nodes.
public AddReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, bool bidirectional ) : ServiceResult
sourceId NodeId
referenceTypeId NodeId
isInverse bool
targetId NodeId
bidirectional bool
return ServiceResult

AddReferences() public method

This method must not be called without first acquiring
public AddReferences ( IDictionary references ) : void
references IDictionary
return void

AttachNode() public method

Attaches a node to the address space.
public AttachNode ( ILocalNode node ) : void
node ILocalNode
return void

Browse() public method

public Browse ( OperationContext context, ContinuationPoint &continuationPoint, IList references ) : void
context OperationContext
continuationPoint ContinuationPoint
references IList
return void

ChangeTypeDefinition() public method

Changes the type definition for an instance.
public ChangeTypeDefinition ( NodeId instanceId, NodeId typeDefinitionId ) : void
instanceId NodeId
typeDefinitionId NodeId
return void

CheckNodeClassMask() public static method

Returns true if the node class matches the node class mask.
public static CheckNodeClassMask ( uint nodeClassMask, NodeClass nodeClass ) : bool
nodeClassMask uint
nodeClass NodeClass
return bool

ConditionRefresh() public method

public ConditionRefresh ( OperationContext context, IList monitoredItems ) : ServiceResult
context OperationContext
monitoredItems IList
return ServiceResult

CoreNodeManager() public method

Initializes the object with default values.
public CoreNodeManager ( IServerInternal server, ApplicationConfiguration configuration, ushort dynamicNamespaceIndex ) : System
server IServerInternal
configuration ApplicationConfiguration
dynamicNamespaceIndex ushort
return System

CreateAddressSpace() public method

Populates the NodeManager by loading the standard nodes from an XML file stored as an embedded resource.
public CreateAddressSpace ( IDictionary externalReferences ) : void
externalReferences IDictionary
return void

CreateDataType() public method

Creates an DataType node in the address space.
public CreateDataType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, bool isAbstract, NodeId>.IDictionary encodings ) : NodeId
parentId NodeId
nodeId NodeId
browseName QualifiedName
displayName LocalizedText
description LocalizedText
writeMask uint
userWriteMask uint
isAbstract bool
encodings NodeId>.IDictionary
return NodeId

CreateMethod() public method

Creates an Method node in the address space.
public CreateMethod ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, MethodAttributes attributes ) : NodeId
parentId NodeId
referenceTypeId NodeId
nodeId NodeId
browseName QualifiedName
attributes MethodAttributes
return NodeId

CreateMonitoredItems() public method

Creates a set of monitored items.
public CreateMonitoredItems ( OperationContext context, uint subscriptionId, double publishingInterval, TimestampsToReturn timestampsToReturn, IList itemsToCreate, IList errors, IList filterErrors, IList monitoredItems, long &globalIdCounter ) : void
context OperationContext
subscriptionId uint
publishingInterval double
timestampsToReturn TimestampsToReturn
itemsToCreate IList
errors IList
filterErrors IList
monitoredItems IList
globalIdCounter long
return void

CreateObject() public method

Creates an Object node in the address space.
public CreateObject ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, ObjectAttributes attributes, ExpandedNodeId typeDefinitionId ) : NodeId
parentId NodeId
referenceTypeId NodeId
nodeId NodeId
browseName QualifiedName
attributes ObjectAttributes
typeDefinitionId ExpandedNodeId
return NodeId

CreateObjectType() public method

Creates an ObjectType node in the address space.
public CreateObjectType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, ObjectTypeAttributes attributes ) : NodeId
parentId NodeId
nodeId NodeId
browseName QualifiedName
attributes ObjectTypeAttributes
return NodeId

CreateReference() public method

Adds a reference between two existing nodes.
public CreateReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, bool bidirectional ) : void
sourceId NodeId
referenceTypeId NodeId
isInverse bool
targetId NodeId
bidirectional bool
return void

CreateReferenceType() public method

Creates an ReferenceType node with the specified node id.
public CreateReferenceType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, LocalizedText inverseName, bool isAbstract, bool symmetric ) : NodeId
parentId NodeId
nodeId NodeId
browseName QualifiedName
displayName LocalizedText
description LocalizedText
writeMask uint
userWriteMask uint
inverseName LocalizedText
isAbstract bool
symmetric bool
return NodeId

CreateUniqueNodeId() public method

Creates a unique node identifier.
public CreateUniqueNodeId ( ) : NodeId
return NodeId

CreateVariableType() public method

Creates an VariableType node in the address space.
public CreateVariableType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, VariableTypeAttributes attributes ) : NodeId
parentId NodeId
nodeId NodeId
browseName QualifiedName
attributes VariableTypeAttributes
return NodeId

DeleteAddressSpace() public method

Disposes all of the nodes.
public DeleteAddressSpace ( ) : void
return void

DeleteMonitoredItems() public method

Deletes a set of monitored items.
public DeleteMonitoredItems ( OperationContext context, IList monitoredItems, IList processedItems, IList errors ) : void
context OperationContext
monitoredItems IList
processedItems IList
errors IList
return void

DeleteNode() public method

Deletes a node from the address sapce.
public DeleteNode ( NodeId nodeId, bool deleteChildren, bool silent ) : void
nodeId NodeId
deleteChildren bool
silent bool
return void

DeleteReference() public method

Deletes a reference.
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

DeleteReference() public method

Deletes a reference.
public DeleteReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBidirectional ) : void
sourceId NodeId
referenceTypeId NodeId
isInverse bool
targetId ExpandedNodeId
deleteBidirectional bool
return void

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

ExportNode() public method

Exports a node to a nodeset.
public ExportNode ( ILocalNode node, NodeSet nodeSet, bool instance ) : void
node ILocalNode
nodeSet NodeSet
instance bool
return void

ExportNode() public method

Exports a node to a nodeset.
public ExportNode ( NodeId nodeId, NodeSet nodeSet ) : void
nodeId NodeId
nodeSet NodeSet
return void

Find() public method

Returns the first target that matches the browse path.
public Find ( NodeId sourceId, string browsePath ) : NodeId
sourceId NodeId
browsePath string
return NodeId

FindInstanceDeclaration() public method

Returns the instance declarations that match the browse name.
This function recusively searches the fully inheirited type for matching instance declarations. It then follows the HasModelParent reference to find nested instance declarations in the fully inheirited type for the parent(s).
public FindInstanceDeclaration ( ILocalNode parent, QualifiedName browseName ) : ILocalNode
parent ILocalNode
browseName QualifiedName
return ILocalNode

FindLocalNodes() public method

Returns all targets of the specified reference.
public FindLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse ) : NodeIdCollection
sourceId NodeId
referenceTypeId NodeId
isInverse bool
return NodeIdCollection

FindTargetId() public method

Returns the id the first node with the specified browse name if it exists. null otherwise
public FindTargetId ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : NodeId
sourceId NodeId
referenceTypeId NodeId
isInverse bool
browseName QualifiedName
return NodeId

GetInstanceDeclarations() public method

Returns a list of children of the node with the specified browse path.
This methods returns all nodes in the fully inhierited type. if the browsePath is null then the immediate children of the type node are returned.
public GetInstanceDeclarations ( NodeId typeId, IList browsePath ) : IList
typeId NodeId
browsePath IList
return IList

GetLocalNode() public method

Returns a node managed by the manager with the specified node id.
public GetLocalNode ( ExpandedNodeId nodeId ) : ILocalNode
nodeId ExpandedNodeId
return ILocalNode

GetLocalNode() public method

Returns a node managed by the manager with the specified node id.
public GetLocalNode ( NodeId nodeId ) : ILocalNode
nodeId NodeId
return ILocalNode

GetLocalNode() public method

Returns a node managed by the manager with the specified node id.
public GetLocalNode ( NodeId nodeId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, QualifiedName browseName ) : ILocalNode
nodeId NodeId
referenceTypeId NodeId
isInverse bool
includeSubtypes bool
browseName QualifiedName
return ILocalNode

GetLocalNodes() public method

Returns a list of nodes which are targets of the specified references.
public GetLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes ) : IList
sourceId NodeId
referenceTypeId NodeId
isInverse bool
includeSubtypes bool
return IList

GetManagerHandle() public method

public GetManagerHandle ( NodeId nodeId ) : object
nodeId NodeId
return object

GetNamespaceIndex() public method

Returns an index for the NamespaceURI (Adds it to the server namespace table if it does not already exist).
Returns the server's default index (1) if the namespaceUri is empty or null.
public GetNamespaceIndex ( string namespaceUri ) : ushort
namespaceUri string
return ushort

GetNodeMetadata() public method

public GetNodeMetadata ( OperationContext context, object targetHandle, BrowseResultMask resultMask ) : NodeMetadata
context OperationContext
targetHandle object
resultMask BrowseResultMask
return NodeMetadata

GetTargetNode() public method

Returns a node managed by the manager that has the specified browse name.
public GetTargetNode ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes, QualifiedName browseName ) : ILocalNode
sourceId NodeId
referenceTypeId NodeId
isInverse bool
includeSubtypes bool
browseName QualifiedName
return ILocalNode

HasLock() public method

Returns true if the current thread has the lock on the node manager.
public HasLock ( ) : bool
return bool

HistoryRead() public method

public HistoryRead ( OperationContext context, HistoryReadDetails details, TimestampsToReturn timestampsToReturn, bool releaseContinuationPoints, IList nodesToRead, IList results, IList errors ) : void
context OperationContext
details HistoryReadDetails
timestampsToReturn TimestampsToReturn
releaseContinuationPoints bool
nodesToRead IList
results IList
errors IList
return void

ImportNodes() public method

Imports the nodes from a dictionary of NodeState objects.
public ImportNodes ( ISystemContext context, IEnumerable predefinedNodes ) : void
context ISystemContext
predefinedNodes IEnumerable
return void

ModifyMonitoredItems() public method

Modifies a set of monitored items.
public ModifyMonitoredItems ( OperationContext context, TimestampsToReturn timestampsToReturn, IList monitoredItems, IList itemsToModify, IList errors, IList filterErrors ) : void
context OperationContext
timestampsToReturn TimestampsToReturn
monitoredItems IList
itemsToModify IList
errors IList
filterErrors IList
return void

Read() public method

public Read ( OperationContext context, double maxAge, IList nodesToRead, IList values, IList errors ) : void
context OperationContext
maxAge double
nodesToRead IList
values IList
errors IList
return void

ReferenceSharedNode() public method

Adds a reference to a shared child node.
public ReferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode
source ILocalNode
referenceTypeId NodeId
isInverse bool
browseName QualifiedName
return ILocalNode

RegisterSource() public method

Registers a source for a node.
The source could be one or more of IDataSource, IEventSource, ICallable, IHistorian or IViewManager
public RegisterSource ( NodeId nodeId, object source, object handle, bool isEventSource ) : void
nodeId NodeId
source object
handle object
isEventSource bool
return void

ReplaceNode() public method

Replaces a node in the address.
public ReplaceNode ( ILocalNode existingNode, ILocalNode newNode ) : void
existingNode ILocalNode
newNode ILocalNode
return void

SetMonitoringMode() public method

Changes the monitoring mode for a set of monitored items.
public SetMonitoringMode ( OperationContext context, MonitoringMode monitoringMode, IList monitoredItems, IList processedItems, IList errors ) : void
context OperationContext
monitoringMode MonitoringMode
monitoredItems IList
processedItems IList
errors IList
return void

SubscribeToAllEvents() public method

public SubscribeToAllEvents ( OperationContext context, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : ServiceResult
context OperationContext
subscriptionId uint
monitoredItem IEventMonitoredItem
unsubscribe bool
return ServiceResult

SubscribeToEvents() public method

public SubscribeToEvents ( OperationContext context, object sourceId, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : ServiceResult
context OperationContext
sourceId object
subscriptionId uint
monitoredItem IEventMonitoredItem
unsubscribe bool
return ServiceResult

TranslateBrowsePath() public method

Returns a list of targets the match the browse path.
public TranslateBrowsePath ( NodeId sourceId, RelativePath relativePath ) : IList
sourceId NodeId
relativePath RelativePath
return IList

TranslateBrowsePath() public method

Returns a list of targets the match the browse path.
public TranslateBrowsePath ( NodeId sourceId, string browsePath ) : IList
sourceId NodeId
browsePath string
return IList

TranslateBrowsePath() public method

Returns a list of targets the match the browse path.
public TranslateBrowsePath ( OperationContext context, NodeId sourceId, RelativePath relativePath ) : IList
context OperationContext
sourceId NodeId
relativePath RelativePath
return IList

TranslateBrowsePath() public method

Returns a list of targets the match the browse path.
public TranslateBrowsePath ( OperationContext context, NodeId sourceId, string browsePath ) : IList
context OperationContext
sourceId NodeId
browsePath string
return IList

TranslateBrowsePath() public method

public TranslateBrowsePath ( OperationContext context, object sourceHandle, RelativePathElement relativePath, IList targetIds, IList unresolvedTargetIds ) : void
context OperationContext
sourceHandle object
relativePath RelativePathElement
targetIds IList
unresolvedTargetIds IList
return void

UnreferenceSharedNode() public method

Adds a reference to a shared child node.
public UnreferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode
source ILocalNode
referenceTypeId NodeId
isInverse bool
browseName QualifiedName
return ILocalNode

UnregisterSource() public method

Called when the source is no longer used.
When a source disappears it must either delete all of its nodes from the address space or unregister itself their source by calling RegisterSource with source == null. After doing that the source must call this method.
public UnregisterSource ( object source ) : void
source object
return void

UpdateDataType() public method

Updates a DataType node in the address space.
public UpdateDataType ( NodeId nodeId, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, bool isAbstract ) : void
nodeId NodeId
displayName LocalizedText
description LocalizedText
writeMask uint
userWriteMask uint
isAbstract bool
return void