Method | Description | |
---|---|---|
AddReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, NodeId targetId, bool bidirectional ) : ServiceResult |
Adds a reference between two existing nodes.
|
|
AddReferences ( IDictionary |
This method must not be called without first acquiring | |
AttachNode ( ILocalNode node ) : void |
Attaches a node to the address space.
|
|
Browse ( |
||
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 ( |
||
CoreNodeManager ( IServerInternal server, ApplicationConfiguration configuration, ushort dynamicNamespaceIndex ) : System |
Initializes the object with default values.
|
|
CreateAddressSpace ( IDictionary |
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 |
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 ( |
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 ( |
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 |
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 ( |
||
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 ( |
||
ImportNodes ( ISystemContext context, IEnumerable |
Imports the nodes from a dictionary of NodeState objects.
|
|
ModifyMonitoredItems ( |
Modifies a set of monitored items.
|
|
Read ( |
||
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 ( |
Changes the monitoring mode for a set of monitored items.
|
|
SubscribeToAllEvents ( |
||
SubscribeToEvents ( |
||
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 ( |
Returns a list of targets the match the browse path.
|
|
TranslateBrowsePath ( |
Returns a list of targets the match the browse path.
|
|
TranslateBrowsePath ( |
||
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.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
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 |
Builds a list of declarations from the nodes aggregated by a parent.
|
|
BuildDeclarationList ( ILocalNode typeDefinition, List |
Builds the list of declaration nodes for a type definition.
|
|
BuildInstanceList ( ILocalNode parent, string browsePath, ILocalNode>.IDictionary |
Builds a table of instances indexed by browse path from the nodes aggregated by a parent
|
|
Call ( |
||
CheckSourceHandle ( ILocalNode node, |
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 |
Deletes a node from the address sapce.
|
|
DeleteRegisteredSources ( ILocalNode existingNode ) : void |
Deletes any sources for a node.
|
|
FindInstanceDeclarationsInParent ( ILocalNode node, List |
Recursively finds the instance declarations in the model parent that match the browse path.
|
|
FindInstanceDeclarationsInType ( ExpandedNodeId instanceId, List |
Recursively finds the first instance declaration that matches the browse path.
|
|
FindInstanceDeclarationsInType ( ILocalNode type, List |
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 |
||
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 ( |
||
ImportNodes ( ISystemContext context, IEnumerable |
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 ( |
Reads the EU Range for a variable.
|
|
SubscribeToEvents ( |
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 ( |
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 ( |
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 |
public AddReferences ( IDictionary |
||
references | IDictionary |
|
return | void |
public Browse ( |
||
context | ||
continuationPoint | ||
references | IList |
|
return | void |
public ChangeTypeDefinition ( NodeId instanceId, NodeId typeDefinitionId ) : void | ||
instanceId | NodeId | |
typeDefinitionId | NodeId | |
return | void |
public static CheckNodeClassMask ( uint nodeClassMask, NodeClass nodeClass ) : bool | ||
nodeClassMask | uint | |
nodeClass | NodeClass | |
return | bool |
public ConditionRefresh ( |
||
context | ||
monitoredItems | IList |
|
return | ServiceResult |
public CoreNodeManager ( IServerInternal server, ApplicationConfiguration configuration, ushort dynamicNamespaceIndex ) : System | ||
server | IServerInternal | |
configuration | ApplicationConfiguration | |
dynamicNamespaceIndex | ushort | |
return | System |
public CreateAddressSpace ( IDictionary |
||
externalReferences | IDictionary |
|
return | void |
public CreateDataType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, uint writeMask, uint userWriteMask, bool isAbstract, NodeId>.IDictionary |
||
parentId | NodeId | |
nodeId | NodeId | |
browseName | QualifiedName | |
displayName | LocalizedText | |
description | LocalizedText | |
writeMask | uint | |
userWriteMask | uint | |
isAbstract | bool | |
encodings | NodeId>.IDictionary | |
return | NodeId |
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 |
public CreateMonitoredItems ( |
||
context | ||
subscriptionId | uint | |
publishingInterval | double | |
timestampsToReturn | TimestampsToReturn | |
itemsToCreate | IList |
|
errors | IList |
|
filterErrors | IList |
|
monitoredItems | IList |
|
globalIdCounter | long | |
return | void |
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 |
public CreateObjectType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, ObjectTypeAttributes attributes ) : NodeId | ||
parentId | NodeId | |
nodeId | NodeId | |
browseName | QualifiedName | |
attributes | ObjectTypeAttributes | |
return | NodeId |
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 |
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 |
public CreateVariableType ( NodeId parentId, NodeId nodeId, QualifiedName browseName, VariableTypeAttributes attributes ) : NodeId | ||
parentId | NodeId | |
nodeId | NodeId | |
browseName | QualifiedName | |
attributes | VariableTypeAttributes | |
return | NodeId |
public DeleteMonitoredItems ( |
||
context | ||
monitoredItems | IList |
|
processedItems | IList |
|
errors | IList |
|
return | void |
public DeleteNode ( NodeId nodeId, bool deleteChildren, bool silent ) : void | ||
nodeId | NodeId | |
deleteChildren | bool | |
silent | bool | |
return | void |
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 DeleteReference ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool deleteBidirectional ) : void | ||
sourceId | NodeId | |
referenceTypeId | NodeId | |
isInverse | bool | |
targetId | ExpandedNodeId | |
deleteBidirectional | bool | |
return | void |
public ExportNode ( ILocalNode node, NodeSet nodeSet, bool instance ) : void | ||
node | ILocalNode | |
nodeSet | NodeSet | |
instance | bool | |
return | void |
public ExportNode ( NodeId nodeId, NodeSet nodeSet ) : void | ||
nodeId | NodeId | |
nodeSet | NodeSet | |
return | void |
public Find ( NodeId sourceId, string browsePath ) : NodeId | ||
sourceId | NodeId | |
browsePath | string | |
return | NodeId |
public FindInstanceDeclaration ( ILocalNode parent, QualifiedName browseName ) : ILocalNode | ||
parent | ILocalNode | |
browseName | QualifiedName | |
return | ILocalNode |
public FindLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse ) : NodeIdCollection | ||
sourceId | NodeId | |
referenceTypeId | NodeId | |
isInverse | bool | |
return | NodeIdCollection |
public FindTargetId ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : NodeId | ||
sourceId | NodeId | |
referenceTypeId | NodeId | |
isInverse | bool | |
browseName | QualifiedName | |
return | NodeId |
public GetInstanceDeclarations ( NodeId typeId, IList |
||
typeId | NodeId | |
browsePath | IList |
|
return | IList |
public GetLocalNode ( ExpandedNodeId nodeId ) : ILocalNode | ||
nodeId | ExpandedNodeId | |
return | ILocalNode |
public GetLocalNode ( NodeId nodeId ) : ILocalNode | ||
nodeId | NodeId | |
return | ILocalNode |
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 |
public GetLocalNodes ( NodeId sourceId, NodeId referenceTypeId, bool isInverse, bool includeSubtypes ) : IList |
||
sourceId | NodeId | |
referenceTypeId | NodeId | |
isInverse | bool | |
includeSubtypes | bool | |
return | IList |
public GetManagerHandle ( NodeId nodeId ) : object | ||
nodeId | NodeId | |
return | object |
public GetNamespaceIndex ( string namespaceUri ) : ushort | ||
namespaceUri | string | |
return | ushort |
public GetNodeMetadata ( |
||
context | ||
targetHandle | object | |
resultMask | BrowseResultMask | |
return |
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 |
public HistoryRead ( |
||
context | ||
details | HistoryReadDetails | |
timestampsToReturn | TimestampsToReturn | |
releaseContinuationPoints | bool | |
nodesToRead | IList |
|
results | IList |
|
errors | IList |
|
return | void |
public ImportNodes ( ISystemContext context, IEnumerable |
||
context | ISystemContext | |
predefinedNodes | IEnumerable |
|
return | void |
public ModifyMonitoredItems ( |
||
context | ||
timestampsToReturn | TimestampsToReturn | |
monitoredItems | IList |
|
itemsToModify | IList |
|
errors | IList |
|
filterErrors | IList |
|
return | void |
public Read ( |
||
context | ||
maxAge | double | |
nodesToRead | IList |
|
values | IList |
|
errors | IList |
|
return | void |
public ReferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode | ||
source | ILocalNode | |
referenceTypeId | NodeId | |
isInverse | bool | |
browseName | QualifiedName | |
return | ILocalNode |
public RegisterSource ( NodeId nodeId, object source, object handle, bool isEventSource ) : void | ||
nodeId | NodeId | |
source | object | |
handle | object | |
isEventSource | bool | |
return | void |
public ReplaceNode ( ILocalNode existingNode, ILocalNode newNode ) : void | ||
existingNode | ILocalNode | |
newNode | ILocalNode | |
return | void |
public SetMonitoringMode ( |
||
context | ||
monitoringMode | MonitoringMode | |
monitoredItems | IList |
|
processedItems | IList |
|
errors | IList |
|
return | void |
public SubscribeToAllEvents ( |
||
context | ||
subscriptionId | uint | |
monitoredItem | IEventMonitoredItem | |
unsubscribe | bool | |
return | ServiceResult |
public SubscribeToEvents ( |
||
context | ||
sourceId | object | |
subscriptionId | uint | |
monitoredItem | IEventMonitoredItem | |
unsubscribe | bool | |
return | ServiceResult |
public TranslateBrowsePath ( NodeId sourceId, RelativePath relativePath ) : IList |
||
sourceId | NodeId | |
relativePath | RelativePath | |
return | IList |
public TranslateBrowsePath ( NodeId sourceId, string browsePath ) : IList |
||
sourceId | NodeId | |
browsePath | string | |
return | IList |
public TranslateBrowsePath ( |
||
context | ||
sourceId | NodeId | |
relativePath | RelativePath | |
return | IList |
public TranslateBrowsePath ( |
||
context | ||
sourceId | NodeId | |
browsePath | string | |
return | IList |
public TranslateBrowsePath ( |
||
context | ||
sourceHandle | object | |
relativePath | RelativePathElement | |
targetIds | IList |
|
unresolvedTargetIds | IList |
|
return | void |
public UnreferenceSharedNode ( ILocalNode source, NodeId referenceTypeId, bool isInverse, QualifiedName browseName ) : ILocalNode | ||
source | ILocalNode | |
referenceTypeId | NodeId | |
isInverse | bool | |
browseName | QualifiedName | |
return | ILocalNode |
public UnregisterSource ( object source ) : void | ||
source | object | |
return | void |
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 |