C# Class Opc.Ua.Server.CoreNodeManager

Inheritance: INodeManager, IDisposable
Afficher le fichier Open project: OPCFoundation/UA-.NET

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Méthode 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 méthode

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
Résultat ServiceResult

AddReferences() public méthode

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

AttachNode() public méthode

Attaches a node to the address space.
public AttachNode ( ILocalNode node ) : void
node ILocalNode
Résultat void

Browse() public méthode

public Browse ( OperationContext context, ContinuationPoint &continuationPoint, IList references ) : void
context OperationContext
continuationPoint ContinuationPoint
references IList
Résultat void

ChangeTypeDefinition() public méthode

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

CheckNodeClassMask() public static méthode

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

ConditionRefresh() public méthode

public ConditionRefresh ( OperationContext context, IList monitoredItems ) : ServiceResult
context OperationContext
monitoredItems IList
Résultat ServiceResult

CoreNodeManager() public méthode

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

CreateAddressSpace() public méthode

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

CreateDataType() public méthode

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
Résultat NodeId

CreateMethod() public méthode

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
Résultat NodeId

CreateMonitoredItems() public méthode

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
Résultat void

CreateObject() public méthode

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
Résultat NodeId

CreateObjectType() public méthode

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
Résultat NodeId

CreateReference() public méthode

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
Résultat void

CreateReferenceType() public méthode

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
Résultat NodeId

CreateUniqueNodeId() public méthode

Creates a unique node identifier.
public CreateUniqueNodeId ( ) : NodeId
Résultat NodeId

CreateVariableType() public méthode

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
Résultat NodeId

DeleteAddressSpace() public méthode

Disposes all of the nodes.
public DeleteAddressSpace ( ) : void
Résultat void

DeleteMonitoredItems() public méthode

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
Résultat void

DeleteNode() public méthode

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

DeleteReference() public méthode

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
Résultat ServiceResult

DeleteReference() public méthode

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
Résultat void

Dispose() public méthode

Frees any unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExportNode() public méthode

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

ExportNode() public méthode

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

Find() public méthode

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

FindInstanceDeclaration() public méthode

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
Résultat ILocalNode

FindLocalNodes() public méthode

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

FindTargetId() public méthode

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
Résultat NodeId

GetInstanceDeclarations() public méthode

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
Résultat IList

GetLocalNode() public méthode

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

GetLocalNode() public méthode

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

GetLocalNode() public méthode

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
Résultat ILocalNode

GetLocalNodes() public méthode

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
Résultat IList

GetManagerHandle() public méthode

public GetManagerHandle ( NodeId nodeId ) : object
nodeId NodeId
Résultat object

GetNamespaceIndex() public méthode

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
Résultat ushort

GetNodeMetadata() public méthode

public GetNodeMetadata ( OperationContext context, object targetHandle, BrowseResultMask resultMask ) : NodeMetadata
context OperationContext
targetHandle object
resultMask BrowseResultMask
Résultat NodeMetadata

GetTargetNode() public méthode

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
Résultat ILocalNode

HasLock() public méthode

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

HistoryRead() public méthode

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
Résultat void

ImportNodes() public méthode

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

ModifyMonitoredItems() public méthode

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
Résultat void

Read() public méthode

public Read ( OperationContext context, double maxAge, IList nodesToRead, IList values, IList errors ) : void
context OperationContext
maxAge double
nodesToRead IList
values IList
errors IList
Résultat void

ReferenceSharedNode() public méthode

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
Résultat ILocalNode

RegisterSource() public méthode

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
Résultat void

ReplaceNode() public méthode

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

SetMonitoringMode() public méthode

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
Résultat void

SubscribeToAllEvents() public méthode

public SubscribeToAllEvents ( OperationContext context, uint subscriptionId, IEventMonitoredItem monitoredItem, bool unsubscribe ) : ServiceResult
context OperationContext
subscriptionId uint
monitoredItem IEventMonitoredItem
unsubscribe bool
Résultat ServiceResult

SubscribeToEvents() public méthode

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

TranslateBrowsePath() public méthode

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

TranslateBrowsePath() public méthode

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

TranslateBrowsePath() public méthode

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
Résultat IList

TranslateBrowsePath() public méthode

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
Résultat IList

TranslateBrowsePath() public méthode

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

UnreferenceSharedNode() public méthode

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
Résultat ILocalNode

UnregisterSource() public méthode

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
Résultat void

UpdateDataType() public méthode

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
Résultat void