UA Bundle SDK .NET
2.1.2.227
|
A base class for all node managers. More...
Inherits UnifiedAutomation.UaServer.INodeManagerEx, UnifiedAutomation.UaServer.INodeManagementManager, UnifiedAutomation.UaServer.IMethodManager, UnifiedAutomation.UaServer.IIOManager, UnifiedAutomation.UaServer.IHistoryReadEventManager, UnifiedAutomation.UaServer.IHistoryUpdateEventManager, UnifiedAutomation.UaServer.IHistoryReadDataManager, UnifiedAutomation.UaServer.IHistoryUpdateDataManager, UnifiedAutomation.UaServer.IEventManagerEx, UnifiedAutomation.UaServer.INotifierManagerCallback, UnifiedAutomation.UaServer.IConditionMethods, UnifiedAutomation.UaServer.IAcknowledgeableConditionMethods, UnifiedAutomation.UaServer.IShelvedStateMachineMethods, UnifiedAutomation.UaServer.IAdvancedNodeManager, IDisposable, UnifiedAutomation.UaServer.IObjectMappingManager, and UnifiedAutomation.UaServer.IUserAccessManager.
Inherited by UnifiedAutomation.UaServer.CoreNodeManager.
Public Member Functions | |
BaseNodeManager (ServerManager server, params string[] namespaceUris) | |
Initializes a new instance of the BaseNodeManager class. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
ushort | AddNamespaceUri (string namespaceUri) |
Adds the namespace URI. More... | |
ModelHandle | LinkModelToNode (NodeId rootId, object instance, object syncLock, IModelMapper mapper, double minimumSamplingInterval) |
Links an object to a node in the address space. More... | |
void | UnlinkModelFromNode (NodeId rootId, ModelHandle handle) |
Unlinks an object from a node in the address space. More... | |
bool | IsReferenceInView (RequestContext context, ViewHandle view, BrowseHandle sourceHandle, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
Determines whether the reference is in the specified view. More... | |
virtual bool | HasAccess (RequestContext context, BrowseHandle browseHandle) |
Determines whether the specified context has access to the browse handle. More... | |
virtual bool | HasAccess (RequestContext context, MethodHandle methodHandle) |
Determines whether the specified context has access to the browse handle. More... | |
virtual bool | HasAccess (RequestContext context, NodeAttributeHandle nodeHandle, UserAccessMask accessMasks) |
Determines whether the current context has specified access to the handle. More... | |
virtual bool | HasAccess (RequestContext context, HistoryDataHandle nodeHandle, UserAccessMask accessMasks) |
Determines whether the specified context has access to the history data handle. More... | |
virtual bool | HasAccess (RequestContext context, HistoryEventHandle nodeHandle, UserAccessMask accessMasks) |
Determines whether the specified context has access to the history event handle. More... | |
void | ImportUaNodeset (Assembly assembly, string resourcePath) |
Imports the nodeset from an embedded resource. More... | |
void | ImportUaNodeset (FileInfo file) |
Imports the ua nodeset from a file. More... | |
void | ImportUaNodeset (Stream istrm) |
Imports the nodes from the stream. More... | |
void | ImportUaNodeset (UaSchema.UANodeSet nodeset) |
Imports the specified nodeset. More... | |
void | Import (List< Node > nodes) |
Imports the list of nodes. More... | |
object | GetNodeUserData (NodeId nodeId) |
Gets the user data for a node. More... | |
void | SetNodeUserData (NodeId nodeId, object userData) |
Sets the user data for a node. More... | |
void | SetChildUserData (NodeId parentId, QualifiedName browseName, object userData) |
Sets the user data for the child of a node. More... | |
VariableNode | SetVariableConfiguration (NodeId parentId, QualifiedName browseName, uint handleType, object handleData) |
Sets the variable configuration. More... | |
void | SetVariableConfiguration (NodeId variableId, uint handleType, object handleData) |
Sets the variable configuration. More... | |
bool | SetVariableDefaultValue (NodeId parentId, QualifiedName browseName, Variant value) |
Sets the variable default value. More... | |
bool | SetVariableDefaultValue (NodeId variableId, Variant value) |
Sets the variable value configuration. More... | |
void | SetNodeAttributeConfiguration (NodeId nodeId, uint attributeId, uint handleType, object handleData) |
Sets the node attribute configuration. More... | |
Node | FindInMemoryNode (NodeId sourceId, NodeId referenceTypeId, bool isInverse, StringTable namespaceUris, string browsePath) |
Finds the in memory node. More... | |
Node | FindInMemoryNode (NodeId sourceId, NodeId referenceTypeId, bool isInverse, params AbsoluteName[] browseNames) |
Finds the in memory node. More... | |
Node | FindInMemoryNode (NodeId sourceId, NodeId referenceTypeId, bool isInverse, params QualifiedName[] browseNames) |
Finds the in memory node. More... | |
virtual NodeMetadata | GetNodeMetadata (RequestContext context, BrowseHandle browseHandle, NodeMetadataMask fieldsToReturn, NodeClass nodeClassFilter) |
Gets the node metadata. More... | |
virtual Node | GetNodeAttributes (RequestContext context, BrowseHandle browseHandle, NodeClass expectedNodeClass) |
Gets the node attributes. More... | |
virtual DataValue | ReadAttribute (RequestContext context, NodeAttributeHandle nodeHandle) |
Reads the attribute. More... | |
virtual T | ReadValue< T > (RequestContext context, NodeAttributeHandle nodeHandle, QualifiedName componentName, T defaultValue) |
Reads the attribute value for a child node. More... | |
virtual T | ReadValue< T > (RequestContext context, NodeAttributeHandle nodeHandle, QualifiedName[] browsePath, T defaultValue) |
Reads the attribute value for a child node. More... | |
virtual StatusCode | WriteAttribute (RequestContext context, NodeAttributeHandle nodeHandle, Variant valueToWrite) |
Writes the attribute. More... | |
virtual StatusCode | WriteValue (RequestContext context, NodeAttributeHandle nodeHandle, QualifiedName componentName, Variant valueToWrite) |
Writes the attribute value for a child node. More... | |
virtual StatusCode | WriteValue (RequestContext context, NodeAttributeHandle nodeHandle, QualifiedName[] browsePath, Variant valueToWrite) |
Writes the attribute value for a child node. More... | |
virtual StatusCode | BeginEventTransaction (RequestContext context, uint totalItemCountHint, TransactionType transactionType, Delegate callback, object callbackData, out TransactionHandle handle) |
Begins the transaction. More... | |
void | FinishEventTransaction (TransactionHandle transaction) |
Finishes the transaction. More... | |
StatusCode | BeginStartEventMonitoring (NotifierOperationHandle operationHandle, MonitoredItemCreateRequest settings, uint monitoredItemId, EventNotificationEventHandler callback) |
Starts monitoring an item. More... | |
StatusCode | BeginModifyEventMonitoring (MonitoredItemOperationHandle operationHandle, MonitoredItemModifyRequest settings) |
Modifies the monitoring for an item. More... | |
StatusCode | BeginStopEventMonitoring (MonitoredItemOperationHandle operationHandle) |
Stops monitoring an item. More... | |
StatusCode | BeginSetEventMonitoringMode (MonitoredItemOperationHandle operationHandle, MonitoringMode monitoringMode, MonitoringParameters parameters) |
Changes the monitoring mode for an item. More... | |
virtual void | EventMonitoringStarted (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters, EventNotificationEventHandler callback) |
Called when monitoring starts for a notifier from another IEventManager higher in the hierarchy. More... | |
virtual void | EventMonitoringModified (NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters) |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy. More... | |
virtual void | EventMonitoringStopped (NodeId notifierId, MonitoredItemHandle itemHandle) |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy. More... | |
virtual void | ConditionRefresh (NodeId notifierId, MonitoredItemHandle itemHandle, EventNotificationEventHandler callback) |
Called when the condition refresh is called for a notifier higher in the hierarchy. More... | |
void | AddNotifier (NodeId notifierId, IEventManager manager) |
Adds a link from an IEventManager to a notifier. More... | |
void | RemoveNotifier (NodeId notifierId, IEventManager manager) |
Removes a link from IEventManager to a notifier. More... | |
virtual void | ReportEvent (NodeId notifierId, GenericEvent e) |
Reports an event for the notifier id. More... | |
virtual void | OnMonitoringStarted (NodeId notifierId, EventMonitoredItem monitoredItem) |
Called when event monitoring has started for a notifier. More... | |
virtual void | OnMonitoringModified (NodeId notifierId, EventMonitoredItem monitoredItem) |
Called when event monitoring has been modified for a notifier. More... | |
virtual void | OnMonitoringStopped (NodeId notifierId, EventMonitoredItem monitoredItem) |
Called when event monitoring has stopped for a notifier. More... | |
virtual void | OnConditionRefresh (NodeId notifierId, MonitoredItemHandle itemHandle, EventNotificationEventHandler callback) |
Called when condition refresh has been called for the notifier. More... | |
virtual StatusCode | Enable (RequestContext context, ConditionModel model) |
Enables a condition. More... | |
virtual StatusCode | Disable (RequestContext context, ConditionModel model) |
Disables a condition. More... | |
virtual StatusCode | AddComment (RequestContext context, ConditionModel model, byte[] eventId, LocalizedText comment) |
Adds a comment to a condition. More... | |
virtual StatusCode | Acknowledge (RequestContext context, AcknowledgeableConditionModel model, byte[] eventId, LocalizedText comment) |
Acknowledges a condition. More... | |
virtual StatusCode | Confirm (RequestContext context, AcknowledgeableConditionModel model, byte[] eventId, LocalizedText comment) |
Confirms a condition. More... | |
StatusCode | OneShotShelve (RequestContext context, ShelvedStateMachineModel model) |
Shelves a condition until the next time it goes into the active state. More... | |
StatusCode | TimedShelve (RequestContext context, ShelvedStateMachineModel model, double shelvingTime) |
Shelves a condition for a period of time. More... | |
StatusCode | Unshelve (RequestContext context, ShelvedStateMachineModel model) |
Unshelves a condition. More... | |
StatusCode | BeginHistoryReadDataTransaction (RequestContext context, uint totalItemCountHint, TimestampsToReturn timestampsToReturn, TransactionType transactionType, HistoryReadDetails details, Delegate callback, object callbackData, out HistoryDataTransactionHandle handle) |
Begins the history transaction. More... | |
void | FinishHistoryReadDataTransaction (HistoryDataTransactionHandle transaction) |
Finishes the history transaction. More... | |
StatusCode | BeginHistoryReadRaw (HistoryDataOperationHandle operationHandle, HistoryReadValueId valueToRead) |
Begins an operation to read raw history data. More... | |
StatusCode | BeginHistoryReadProcessed (HistoryDataOperationHandle operationHandle, HistoryReadValueId valueToRead) |
Begins an operation to read processed history data. More... | |
StatusCode | BeginHistoryReadAtTime (HistoryDataOperationHandle operationHandle, HistoryReadValueId valueToRead) |
Begins an operation to read raw history data. More... | |
StatusCode | BeginHistoryUpdateDataTransaction (RequestContext context, uint totalItemCountHint, TransactionType transactionType, Delegate callback, object callbackData, out HistoryDataTransactionHandle handle) |
Begins the history transaction. More... | |
void | FinishHistoryUpdateDataTransaction (HistoryDataTransactionHandle transaction) |
Finishes the history transaction. More... | |
StatusCode | BeginHistoryUpdateData (HistoryDataOperationHandle operationHandle, UpdateDataDetails details) |
Begins an operation to update raw history data. More... | |
StatusCode | BeginHistoryUpdateStructureData (HistoryDataOperationHandle operationHandle, UpdateStructureDataDetails details) |
Begins an operation to update structured history data. More... | |
StatusCode | BeginHistoryDeleteRaw (HistoryDataOperationHandle operationHandle, DeleteRawModifiedDetails details) |
Begins an operation to delete raw history data. More... | |
StatusCode | BeginHistoryDeleteAtTime (HistoryDataOperationHandle operationHandle, DeleteAtTimeDetails details) |
Begins an operation to delete history data at specific times. More... | |
StatusCode | BeginHistoryReadEventTransaction (RequestContext context, uint totalItemCountHint, TransactionType transactionType, ReadEventDetails details, Delegate callback, object callbackData, out HistoryEventTransactionHandle handle) |
Begins the event history transaction. More... | |
void | FinishHistoryReadEventTransaction (HistoryEventTransactionHandle transaction) |
Finishes the event history transaction. More... | |
StatusCode | BeginHistoryReadEvent (HistoryEventOperationHandle operationHandle, HistoryReadValueId notifierToRead) |
Begins an operation to read event history. More... | |
StatusCode | BeginHistoryUpdateEventTransaction (RequestContext context, uint totalItemCountHint, TransactionType transactionType, Delegate callback, object callbackData, out HistoryEventTransactionHandle handle) |
Begins the history transaction. More... | |
void | FinishHistoryUpdateEventTransaction (HistoryEventTransactionHandle transaction) |
Finishes the history event transaction. More... | |
StatusCode | BeginHistoryUpdateEvent (HistoryEventOperationHandle operationHandle, UpdateEventDetails details) |
Begins the history update event. More... | |
StatusCode | BeginHistoryDeleteEvent (HistoryEventOperationHandle operationHandle, DeleteEventDetails details) |
Begins an operation to delete event history. More... | |
StatusCode | BeginDataTransaction (RequestContext context, uint totalItemCountHint, double maxAge, TimestampsToReturn timestampsToReturn, TransactionType transactionType, Delegate callback, object callbackData, out TransactionHandle handle) |
Begins the data transaction. More... | |
void | FinishDataTransaction (TransactionHandle transaction) |
Finishes the transaction. More... | |
StatusCode | BeginRead (NodeAttributeOperationHandle operationHandle, ReadValueId settings) |
Begins a read operation (must not block). More... | |
StatusCode | BeginWrite (NodeAttributeOperationHandle operationHandle, WriteValue settings) |
Begins the write. More... | |
StatusCode | BeginStartDataMonitoring (NodeAttributeOperationHandle operationHandle, uint monitoredItemId, MonitoredItemCreateRequest settings, DataChangeEventHandler callback) |
Begins a start data monitoring operation (must not block). More... | |
StatusCode | BeginModifyDataMonitoring (MonitoredItemOperationHandle operationHandle, MonitoredItemModifyRequest settings) |
Begins a modify data operation (must not block). More... | |
StatusCode | BeginStopDataMonitoring (MonitoredItemOperationHandle operationHandle) |
Begins a stop data monitoring operation (must not block). More... | |
StatusCode | BeginSetDataMonitoringMode (MonitoredItemOperationHandle operationHandle, MonitoringMode monitoringMode, MonitoringParameters parameters) |
Begins a set data monitoring mode operation (must not block). More... | |
StatusCode | BeginCallTransaction (RequestContext context, uint totalItemCountHint, CallCompleteEventHandler callback, object callbackData, out TransactionHandle handle) |
Begins the call transaction. More... | |
virtual StatusCode | BeginCall (MethodOperationHandle methodHandle, IList< Variant > inputArguments) |
Begins the method call. More... | |
virtual void | FinishCallTransaction (TransactionHandle transaction) |
Finishes the call transaction. More... | |
StatusCode | AddNode (RequestContext context, AddNodeSettings settings, out NodeId assignedNodeId) |
Adds a new node. More... | |
StatusCode | DeleteNode (RequestContext context, NodeId nodeId, bool deleteTargetReferences) |
Deletes the node. More... | |
StatusCode | AddReference (RequestContext context, NodeId sourceNodeId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetNodeId, bool addBiDirectional) |
Adds a reference. More... | |
StatusCode | DeleteReference (RequestContext context, NodeId sourceNodeId, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetNodeId, bool deleteBiDirectional) |
Deletes the reference. More... | |
ObjectNode | CreateObject (RequestContext context, CreateObjectSettings settings) |
Creates a new object node. More... | |
VariableNode | CreateVariable (RequestContext context, CreateVariableSettings settings) |
Creates a new variable node. More... | |
MethodNode | CreateMethod (RequestContext context, CreateMethodSettings settings) |
Creates a new method node. More... | |
ViewNode | CreateView (RequestContext context, CreateViewSettings settings) |
Creates a new view node. More... | |
ObjectTypeNode | CreateObjectTypeNode (RequestContext context, CreateObjectTypeSettings settings) |
Creates a new object type node. More... | |
VariableTypeNode | CreateVariableTypeNode (RequestContext context, CreateVariableTypeSettings settings) |
Creates a new variable type node. More... | |
DataTypeNode | CreateDataTypeNode (RequestContext context, CreateDataTypeSettings settings) |
Creates a new data type node. More... | |
ReferenceTypeNode | CreateReferenceTypeNode (RequestContext context, CreateReferenceTypeSettings settings) |
Creates a new reference type node. More... | |
virtual void | Startup () |
Called when the node manager is started. More... | |
virtual void | Shutdown () |
Called when the node manager is stopped. More... | |
virtual void | SessionOpened (Session session) |
Called when a new session is created. More... | |
virtual void | SessionActivated (Session session) |
Called when a session is activated. More... | |
virtual void | SessionClosed (Session session) |
Called when a new session is closed. More... | |
virtual StatusCode | GetBrowseHandle (RequestContext context, ViewHandle view, NodeId nodeId, out BrowseHandle handle) |
Gets the browse handle for the specified node. More... | |
StatusCode | GetViewHandle (RequestContext context, ViewDescription view, out ViewHandle handle) |
Gets the view handle for the specified view. More... | |
virtual StatusCode | GetNodeHandle (RequestContext context, NodeId nodeId, uint attributeId, out NodeAttributeHandle handle) |
Gets the node handle for the specified node and attribute. More... | |
virtual StatusCode | GetNotifierHandle (RequestContext context, NodeId nodeId, out NotifierHandle handle) |
Gets the notifier handle for the specified notifier. More... | |
virtual StatusCode | GetMethodHandle (RequestContext context, NodeId objectId, NodeId methodId, out MethodHandle handle) |
Gets the method handle for the specified object and method. More... | |
virtual StatusCode | GetHistoryDataHandle (RequestContext context, NodeId variableId, out HistoryDataHandle handle) |
Gets the history data handle for the specified variable. More... | |
virtual StatusCode | GetHistoryEventHandle (RequestContext context, NodeId notifierId, out HistoryEventHandle handle) |
Gets the history events handle for the specified notifier. More... | |
virtual StatusCode | BeginBrowse (RequestContext context, BrowseOperationHandle nodeToBrowse, ContinuationPoint continuationPoint, bool releaseContinuationPoint, Delegate callback, object callbackData) |
Begins a browse operation. More... | |
virtual StatusCode | BeginTranslate (RequestContext context, BrowseOperationHandle nodeToBrowse, RelativePath relativePath, uint index, Delegate callback, object callbackData) |
Begins a translate browse paths operation. More... | |
void | AddCrossReference (NodeId sourceNodeId, INodeManager manager) |
Adds the cross reference. More... | |
void | RemoveCrossReference (NodeId sourceNodeId, INodeManager manager) |
Removes the cross reference. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
virtual bool | IsNodeIdInvalid (NodeId nodeId) |
Determines whether the node id is invalid. More... | |
virtual bool | IsNodeIdInvalid (ExpandedNodeId nodeId) |
Determines whether the node id is invalid. More... | |
Node | FindInMemoryNode (NodeId nodeId) |
Finds the in memory node. More... | |
Node | CopyNode (Node source, bool copyValue) |
Copies the node. More... | |
virtual void | FinishStartEventMonitoringTransaction (TransactionHandle transaction) |
Finishes the start event monitoring transaction. More... | |
virtual EventMonitoringResult | StartEventMonitoring (RequestContext context, NotifierHandle notifierHandle, uint monitoredItemId, MonitoredItemCreateRequest settings, EventNotificationEventHandler callback) |
Starts the event monitoring for a single item. More... | |
virtual void | StartEventMonitoring (RequestContext context, TransactionHandle transaction, IList< NotifierOperationHandle > notifierHandles, IList< uint > monitoredItemIds, IList< MonitoredItemCreateRequest > settings, IList< EventNotificationEventHandler > callbacks) |
Starts the event monitoring for all unprocessed items in the transaction. More... | |
EventMonitoringResult | ValidateEventMonitoringRequest (RequestContext context, NotifierHandle notifierHandle, ReadValueId itemToMonitor, MonitoringParameters parameters) |
Validates the event monitoring request. More... | |
virtual void | FinishModifyEventMonitoringTransaction (TransactionHandle transaction) |
Finishes the modify event monitoring transaction. More... | |
virtual EventMonitoringResult | ModifyEventMonitoring (RequestContext context, MonitoredItemOperationHandle itemHandle, MonitoredItemModifyRequest settings) |
Modifies the event monitoring for a single item. More... | |
virtual void | ModifyEventMonitoring (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > itemHandles, IList< MonitoredItemModifyRequest > settings) |
Modifies the event monitoring for all unprocessed items in the transaction. More... | |
virtual void | FinishStopEventMonitoringTransaction (TransactionHandle transaction) |
Finishes the stop event monitoring transaction. More... | |
virtual StatusCode | StopEventMonitoring (RequestContext context, MonitoredItemOperationHandle itemHandle) |
Stops the event monitoring for a single item. More... | |
virtual void | StopEventMonitoring (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > itemHandles, IList< MonitoredItemModifyRequest > settings) |
Stop the event monitoring for all unprocessed items in the transaction. More... | |
virtual void | FinishSetEventMonitoringModeTransaction (TransactionHandle transaction) |
Finishes the set event monitoring mode transaction. More... | |
virtual StatusCode | SetEventMonitoringMode (RequestContext context, MonitoredItemOperationHandle itemHandle, MonitoringMode monitoringMode) |
Changes the event monitoring mode for a single item. More... | |
virtual void | SetEventMonitoringMode (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > itemHandles, IList< MonitoringMode > monitoringModes) |
Changes the event monitoring mode for all unprocessed items in the transaction. More... | |
void | AddNotifier (NodeId notifierId, params NodeId[] parents) |
Removes a local notifier. More... | |
bool | IsNotifierForSource (NotifierHandle notifierHandle, NodeId sourceId) |
Determines whether the notifier is above the source in the tree. More... | |
virtual HistoryReadResult | HistoryReadRaw (RequestContext context, ReadRawModifiedDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding, ref HistoryContinuationPoint continuationPoint) |
Reads the raw history for a single variable. More... | |
virtual void | HistoryReadRaw (RequestContext context, HistoryDataTransactionHandle transaction, ReadRawModifiedDetails details, IList< HistoryDataOperationHandle > operationHandles, IList< HistoryReadValueId > valuesToRead, IList< HistoryContinuationPoint > continuationPoints) |
Reads the raw history for a group of variables. More... | |
virtual HistoryReadResult | HistoryReadProcessed (RequestContext context, ReadProcessedDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding, ref HistoryContinuationPoint continuationPoint) |
Reads the processed history for a single variable. More... | |
virtual void | HistoryReadProcessed (RequestContext context, HistoryDataTransactionHandle transaction, ReadProcessedDetails details, IList< HistoryDataOperationHandle > operationHandles, IList< HistoryReadValueId > valueToRead, IList< HistoryContinuationPoint > continuationPoints) |
Reads the processed history for a group of variables. More... | |
virtual HistoryReadResult | HistoryReadAtTime (RequestContext context, ReadAtTimeDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding, ref HistoryContinuationPoint continuationPoint) |
Reads the history at specific time for a single variable. More... | |
virtual void | HistoryReadAtTime (RequestContext context, HistoryDataTransactionHandle transaction, ReadAtTimeDetails details, IList< HistoryDataOperationHandle > operationHandles, IList< HistoryReadValueId > valuesToRead, IList< HistoryContinuationPoint > continuationPoints) |
Reads the history at specific time for a group of variables. More... | |
virtual HistoryUpdateResult | HistoryUpdateData (RequestContext context, HistoryDataHandle nodeHandle, UpdateDataDetails details) |
Updates the data history for a single variable. More... | |
virtual void | HistoryUpdateData (RequestContext context, HistoryDataTransactionHandle transaction, IList< HistoryDataOperationHandle > operationHandles, IList< UpdateDataDetails > details) |
Updates the data history for a group of variables. More... | |
virtual HistoryUpdateResult | HistoryUpdateStructureData (RequestContext context, HistoryDataHandle nodeHandle, UpdateStructureDataDetails details) |
Updates structured history data for a single variable. More... | |
virtual void | HistoryUpdateStructureData (RequestContext context, HistoryDataTransactionHandle transaction, IList< HistoryDataOperationHandle > operationHandles, IList< UpdateStructureDataDetails > details) |
Updates structured history data for a group of variables. More... | |
virtual HistoryUpdateResult | HistoryDeleteRaw (RequestContext context, HistoryDataHandle nodeHandle, DeleteRawModifiedDetails details) |
Delete raw history data for a single variable. More... | |
virtual void | HistoryDeleteRaw (RequestContext context, HistoryDataTransactionHandle transaction, IList< HistoryDataOperationHandle > operationHandles, IList< DeleteRawModifiedDetails > details) |
Delete raw history data for a group of variables. More... | |
virtual HistoryUpdateResult | HistoryDeleteAtTime (RequestContext context, HistoryDataHandle nodeHandle, DeleteAtTimeDetails details) |
Deletes history data at specific times for a single variable. More... | |
virtual void | HistoryDeleteAtTime (RequestContext context, HistoryDataTransactionHandle transaction, IList< HistoryDataOperationHandle > operationHandles, IList< DeleteAtTimeDetails > details) |
Deletes history data at specific times for a group of variables. More... | |
virtual HistoryReadResult | HistoryReadEvent (RequestContext context, ReadEventDetails details, HistoryEventHandle nodeHandle) |
Reads the event history for a single notifier. More... | |
virtual void | HistoryReadEvent (RequestContext context, HistoryEventTransactionHandle transaction, ReadEventDetails details, IList< HistoryEventOperationHandle > operationHandles, IList< HistoryReadValueId > notifiersToRead) |
Reads the event history for a group of notifiers. More... | |
virtual HistoryUpdateResult | HistoryUpdateEvent (RequestContext context, HistoryEventHandle nodeHandle, UpdateEventDetails details) |
Updates the event history for a single notifier. More... | |
virtual void | HistoryUpdateEvents (RequestContext context, HistoryEventTransactionHandle transaction, IList< HistoryEventOperationHandle > operationHandles, IList< UpdateEventDetails > details) |
Updates the event history for a group of notifiers. More... | |
virtual HistoryUpdateResult | HistoryDeleteEvent (RequestContext context, HistoryEventHandle nodeHandle, DeleteEventDetails details) |
Deletes event history for a single notifier. More... | |
virtual void | HistoryDeleteEvents (RequestContext context, HistoryEventTransactionHandle transaction, IList< HistoryEventOperationHandle > operationHandles, IList< DeleteEventDetails > details) |
Deletes event history for a group of notifiers. More... | |
virtual void | FinishReadTransaction (TransactionHandle transaction) |
Finishes the read transaction. More... | |
virtual DataValue | Read (RequestContext context, NodeAttributeHandle nodeHandle, string indexRange, QualifiedName dataEncoding) |
Reads the attribute. More... | |
virtual void | Read (RequestContext context, TransactionHandle transaction, IList< NodeAttributeOperationHandle > operationHandles, IList< ReadValueId > settings) |
Reads the attributes. More... | |
byte | GetUserAccessLevel (RequestContext context, NodeId nodeId) |
Gets the user access level. More... | |
DataValue | ApplyIndexRangeAndEncoding (NodeAttributeHandle handle, DataValue input, string indexRange, QualifiedName dataEncoding) |
Applies the index range and the encoding (modifies the input DataValue). More... | |
DataValue | ApplyIndexRangeAndEncoding (DataValue input, string indexRange, QualifiedName dataEncoding) |
Applies the index range and the encoding (modifies the input DataValue). More... | |
virtual DataValue | ApplyDataEncoding (DataValue input, QualifiedName dataEncoding) |
Applies the data encoding (modifies the input DataValue). More... | |
virtual void | FinishWriteTransaction (TransactionHandle transaction) |
Finishes the write transaction. More... | |
virtual StatusCode | Write (RequestContext context, NodeAttributeHandle nodeHandle, string indexRange, DataValue value) |
Writes the value to a node attribute. More... | |
virtual void | Write (RequestContext context, TransactionHandle transaction, IList< NodeAttributeOperationHandle > operationHandles, IList< WriteValue > settings) |
Writes a value to a group of node attributes. More... | |
StatusCode | CanWriteDataType (RequestContext context, NodeAttributeHandle nodeHandle, DataValue value) |
Determines whether this instance can write a value with the specified data type to the node in the specified context. More... | |
void | ReportDataChanges (RequestContext context, NodeAttributeHandle nodeHandle) |
Reports the data changes. More... | |
virtual void | FinishStartDataMonitoringTransaction (TransactionHandle transaction) |
Finishes the start data monitoring transaction. More... | |
virtual DataMonitoringResult | StartDataMonitoring (RequestContext context, MonitoredItemHandle itemHandle, MonitoredItemCreateRequest settings, DataChangeEventHandler callback) |
Start data monitoring for a single node attribute value. More... | |
virtual void | StartDataMonitoring (RequestContext context, TransactionHandle transaction, IList< NodeAttributeOperationHandle > operationHandles, IList< uint > monitoredItemIds, IList< MonitoredItemCreateRequest > settings, IList< DataChangeEventHandler > callback) |
Start data monitoring for a group of node attributes. More... | |
DataMonitoringResult | StartDataMonitoringInMemoryNode (RequestContext context, MonitoredItemHandle itemHandle, MonitoredItemCreateRequest request, DataChangeEventHandler callback, DataMonitoringResult result) |
Starts the data monitoring in memory node. More... | |
DataMonitoringResult | StartDataMonitoringSampledNode (RequestContext context, MonitoredItemHandle itemHandle, MonitoredItemCreateRequest request, DataChangeEventHandler callback, DataMonitoringResult result) |
Starts the data monitoring of a mapped node. More... | |
virtual void | FinishModifyDataMonitoringTransaction (TransactionHandle transaction) |
Finishes the modify data monitoring transaction. More... | |
virtual DataMonitoringResult | ModifyDataMonitoring (RequestContext context, MonitoredItemHandle itemHandle, MonitoredItemModifyRequest settings) |
Modifies data monitoring for a single node attribute value. More... | |
virtual void | ModifyDataMonitoring (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > operationHandles, IList< MonitoredItemModifyRequest > settings) |
Modifies data monitoring for a group of node attribute values. More... | |
virtual void | FinishStopDataMonitoringTransaction (TransactionHandle transaction) |
Finishes the stop data monitoring transaction. More... | |
virtual StatusCode | StopDataMonitoring (RequestContext context, MonitoredItemHandle itemHandle) |
Stops the data monitoring for a single node attribute value. More... | |
virtual void | StopDataMonitoring (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > operationHandles) |
Stops the data monitoring for a group of node attribute values. More... | |
virtual void | FinishSetDataMonitoringModeTransaction (TransactionHandle transaction) |
Finishes the modify data monitoring transaction. More... | |
virtual StatusCode | SetDataMonitoringMode (RequestContext context, MonitoredItemHandle itemHandle, MonitoringMode monitoringMode, MonitoringParameters parameters) |
Sets the monitoring mode for a single monitored item. More... | |
virtual void | SetDataMonitoringMode (RequestContext context, TransactionHandle transaction, IList< MonitoredItemOperationHandle > operationHandles, IList< MonitoringMode > monitoringModes, IList< MonitoringParameters > parameters) |
Sets the monitoring mode for a group of monitored items. More... | |
virtual void | InMemoryNodeReadStarted (RequestContext context, NodeAttributeHandle nodeHandle, Node node) |
Called before an in-memory node is read. More... | |
virtual void | InMemoryNodeWriteCompleted (RequestContext context, NodeAttributeHandle nodeHandle, Node node) |
Called after an in-memory node is updated. More... | |
virtual void | InMemoryNodeMonitoringStarted (RequestContext context, NodeAttributeHandle nodeHandle, double samplingInterval) |
Called when data monitoring starts. More... | |
virtual void | InMemoryNodeMonitoringModified (RequestContext context, NodeAttributeHandle nodeHandle, double samplingInterval) |
Called when data monitoring is modified. More... | |
virtual void | InMemoryNodeMonitoringStopped (RequestContext context, NodeAttributeHandle nodeHandle) |
Called when data monitoring is stopped. More... | |
virtual CallMethodEventHandler | GetMethodDispatcher (RequestContext context, MethodHandle methodHandle) |
Gets the method handler. More... | |
CallMethodResult | CallMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments) |
Calls the method. More... | |
virtual StatusCode | CallMethod (RequestContext context, MethodHandle methodHandle, IList< Variant > inputArguments, out List< StatusCode > inputArgumentResults, out List< Variant > outputArguments) |
Calls the method. More... | |
virtual bool | HasAccessToAddNode (RequestContext context, BrowseHandle parent, NodeId referenceTypeId, NodeId typeDefinitionId) |
Determines whether the specified context has permision to add nodes. More... | |
virtual void | PersistAddedNode (RequestContext context, Node node) |
Called when a new persistent node is added. More... | |
void | CollectNodesToDelete (Node node, List< Node > nodesToDelete) |
Collects the nodes to delete. The children of the node are added to nodesToDelete recursicely. More... | |
virtual bool | HasAccessToDeleteNode (RequestContext context, NodeId nodeToDelete) |
Determines whether the specified context has permision to delete nodes. More... | |
virtual void | PersistDeletedNode (RequestContext context, Node node) |
Called when a new persistent node is deleted. More... | |
virtual void | BeforeNodesAdded (RequestContext context, IList< Node > nodes) |
This method can be reimplemented in a subclass. The method is called before nodes are added. More... | |
virtual void | AfterNodesAdded (RequestContext context, IList< Node > nodes) |
This method can be reimplemented in a subclass. The method is called after nodes are added. More... | |
virtual void | AfterAddReference (RequestContext context, Node node, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
This method can be reimplemented in a subclass. The method is called after adding a reference to a node. More... | |
virtual void | AfterDeleteReference (RequestContext context, Node node, NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
This method can be reimplemented in a subclass. The method is called after deleting a reference. More... | |
virtual bool | HasAccessToAddReference (RequestContext context, NodeId sourceId, NodeId referenceTypeId, bool isInverse) |
Determines whether the specified context has permission to add the reference. More... | |
virtual void | PersistAddedReference (RequestContext context, Node node, ReferenceNode reference) |
Called when a new persistent reference is added. More... | |
virtual bool | HasAccessToDeleteReference (RequestContext context, NodeId sourceId, NodeId referenceTypeId, bool isInverse) |
Determines whether the specified context has permission to delete the reference. More... | |
virtual void | PersistDeletedReference (RequestContext context, Node node, ReferenceNode reference) |
Called when a new persistent reference is deleted. More... | |
NodeId | CreateNodeId (bool persistent, ushort namespaceIndex) |
Creates a new node id. More... | |
virtual ContinuationPoint | Browse (RequestContext context, ContinuationPoint continuationPoint, List< ReferenceDescription > results) |
Browses the node specified in the continuation point. More... | |
ContinuationPoint | ProcessReferences (RequestContext context, ContinuationPoint continuationPoint, List< ReferenceNode > references, List< ReferenceDescription > results) |
Processes the references in the list. More... | |
Properties | |
ushort[] | NamespaceIndexes [get] |
Gets the namespace indexes supported by the node manager. More... | |
string[] | NamespaceUris [get] |
Gets the namespace uris supported by the node manager. More... | |
ushort | DefaultNamespaceIndex [get, set] |
Gets or sets the default namespace index. More... | |
ServerManager | Server [get] |
Gets the server manager. More... | |
object | InMemoryNodeLock [get] |
Gets the lock to use when accessing the memory nodes. More... | |
IEnumerable< Node > | InMemoryNodes [get] |
Gets the set of in memory nodes. More... | |
virtual AdvancedNodeManagerMethods | SupportedMethods [get] |
Gets the supported methods. More... | |
NodeIdGenerationSettings | NodeIdGenerationSettings [get] |
Gets the node id generation settings. More... | |
Properties inherited from UnifiedAutomation.UaServer.IAdvancedNodeManager | |
AdvancedNodeManagerMethods | SupportedMethods [get] |
Gets the supported methods. More... | |
A base class for all node managers.
UnifiedAutomation.UaServer.BaseNodeManager.BaseNodeManager | ( | ServerManager | server, |
params string[] | namespaceUris | ||
) |
Initializes a new instance of the BaseNodeManager class.
server | The server. |
namespaceUris | The namespace uris. |
|
virtual |
Acknowledges a condition.
context | The request context. |
model | The condition being acknowledged. |
eventId | The event id. |
comment | The comment. |
Implements UnifiedAutomation.UaServer.IAcknowledgeableConditionMethods.
|
virtual |
Adds a comment to a condition.
context | The request context. |
model | The condition to add a comment to. |
eventId | The event id. |
comment | The comment. |
Implements UnifiedAutomation.UaServer.IConditionMethods.
void UnifiedAutomation.UaServer.BaseNodeManager.AddCrossReference | ( | NodeId | sourceNodeId, |
INodeManager | manager | ||
) |
Adds the cross reference.
sourceNodeId | The source node id. |
manager | The manager. |
The source node is a node managed by the NodeManager being called. This method tells the NodeManager that references from the source exist in another NodeManager. When the source is browsed the NodeManager will call the BrowseCrossReference method on the NodeManger passed to this method.
Implements UnifiedAutomation.UaServer.INodeManagerEx.
ushort UnifiedAutomation.UaServer.BaseNodeManager.AddNamespaceUri | ( | string | namespaceUri | ) |
Adds the namespace URI.
namespaceUri | The namespace URI. |
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.AddNode | ( | RequestContext | context, |
AddNodeSettings | settings, | ||
out NodeId | assignedNodeId | ||
) |
Adds a new node.
context | The request context. |
settings | The settings. |
assignedNodeId | The assigned node id. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
void UnifiedAutomation.UaServer.BaseNodeManager.AddNotifier | ( | NodeId | notifierId, |
IEventManager | manager | ||
) |
Adds a link from an IEventManager to a notifier.
notifierId | The notifier id. |
manager | The event manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
protected |
Removes a local notifier.
notifierId | The notifier id. |
parents | The parents. |
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.AddReference | ( | RequestContext | context, |
NodeId | sourceNodeId, | ||
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
ExpandedNodeId | targetNodeId, | ||
bool | addBiDirectional | ||
) |
Adds a reference.
context | The request context. |
sourceNodeId | The source node id. |
referenceTypeId | The reference type id. |
isInverse | If set to true , then the reference is a inverse reference. |
targetNodeId | The target node id. |
addBiDirectional | If set to true , then the reverse reference is added as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
protectedvirtual |
This method can be reimplemented in a subclass. The method is called after adding a reference to a node.
context | The request context. |
node | The node. |
referenceTypeId | The reference type id. |
isInverse | Set to true , if the reference is an inverse reference. |
targetId | The target id. |
|
protectedvirtual |
This method can be reimplemented in a subclass. The method is called after deleting a reference.
context | The request context. |
node | The node. |
referenceTypeId | The reference type id. |
isInverse | Set to true , if the reference is an inverse reference. |
targetId | The target id. |
|
protectedvirtual |
This method can be reimplemented in a subclass. The method is called after nodes are added.
context | The request context. |
nodes | The nodes. |
|
protectedvirtual |
Applies the data encoding (modifies the input DataValue).
input | The input. |
dataEncoding | The data encoding. |
|
protected |
Applies the index range and the encoding (modifies the input DataValue).
handle | The handle. |
input | The input. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
protected |
Applies the index range and the encoding (modifies the input DataValue).
input | The input. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
protectedvirtual |
This method can be reimplemented in a subclass. The method is called before nodes are added.
context | The request context. |
nodes | The nodes. |
|
virtual |
Begins a browse operation.
context | The request context. |
nodeToBrowse | The node to browse. |
continuationPoint | The continuation point. |
releaseContinuationPoint | If set to true , [release continuation point]. |
callback | The callback. |
callbackData | The callback data. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Begins the method call.
methodHandle | The method handle. |
inputArguments | The input arguments. |
If this method returns Good, the callback passed to BeginCallTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IMethodManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginCallTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
CallCompleteEventHandler | callback, | ||
object | callbackData, | ||
out TransactionHandle | handle | ||
) |
Begins the call transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
callback | The callback. |
callbackData | The callback data. |
handle | The call transaction handle. |
Implements UnifiedAutomation.UaServer.IMethodManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginDataTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
double | maxAge, | ||
TimestampsToReturn | timestampsToReturn, | ||
TransactionType | transactionType, | ||
Delegate | callback, | ||
object | callbackData, | ||
out TransactionHandle | handle | ||
) |
Begins the data transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
maxAge | The max age. |
timestampsToReturn | The timestamps to return. |
transactionType | Type of the transaction. |
callback | The callback. |
callbackData | The callback data. |
handle | The data transaction handle. |
Implements UnifiedAutomation.UaServer.IIOManager.
|
virtual |
Begins the transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
transactionType | Type of the transaction. |
callback | The callback to raise when an opereation completes. |
callbackData | The callback data. |
handle | The transaction handle. |
Implements UnifiedAutomation.UaServer.IEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryDeleteAtTime | ( | HistoryDataOperationHandle | operationHandle, |
DeleteAtTimeDetails | details | ||
) |
Begins an operation to delete history data at specific times.
operationHandle | The operation handle. |
details |
If this method returns Good, the callback passed to BeginHistoryUpdateDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryDeleteEvent | ( | HistoryEventOperationHandle | operationHandle, |
DeleteEventDetails | details | ||
) |
Begins an operation to delete event history.
operationHandle | The operation handle. |
details | The details. |
If this method returns Good, the callback passed to BeginHistoryUpdateEventTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryDeleteRaw | ( | HistoryDataOperationHandle | operationHandle, |
DeleteRawModifiedDetails | details | ||
) |
Begins an operation to delete raw history data.
operationHandle | The operation handle. |
details | The details. |
If this method returns Good, the callback passed to BeginHistoryUpdateDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadAtTime | ( | HistoryDataOperationHandle | operationHandle, |
HistoryReadValueId | valueToRead | ||
) |
Begins an operation to read raw history data.
operationHandle | The operation handle. |
valueToRead | The value to read. |
If this method returns Good, the callback passed to BeginHistoryReadDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadDataTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
TimestampsToReturn | timestampsToReturn, | ||
TransactionType | transactionType, | ||
HistoryReadDetails | details, | ||
Delegate | callback, | ||
object | callbackData, | ||
out HistoryDataTransactionHandle | handle | ||
) |
Begins the history transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
timestampsToReturn | The timestamps to return. |
transactionType | Type of the transaction. |
details | The details. |
callback | The callback called when an operation completes. |
callbackData | The callback data. |
handle | The historical data transaction handle. |
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadEvent | ( | HistoryEventOperationHandle | operationHandle, |
HistoryReadValueId | notifierToRead | ||
) |
Begins an operation to read event history.
operationHandle | The operation handle. |
notifierToRead | The notifier to read. |
If this method returns Good the callback passed to BeginHistoryReadEventTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryReadEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadEventTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
TransactionType | transactionType, | ||
ReadEventDetails | details, | ||
Delegate | callback, | ||
object | callbackData, | ||
out HistoryEventTransactionHandle | handle | ||
) |
Begins the event history transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
transactionType | Type of the transaction. |
details | The details. |
callback | The callback. |
callbackData | The callback data. |
handle | The historical event transaction handle. |
Implements UnifiedAutomation.UaServer.IHistoryReadEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadProcessed | ( | HistoryDataOperationHandle | operationHandle, |
HistoryReadValueId | valueToRead | ||
) |
Begins an operation to read processed history data.
operationHandle | The operation handle. |
valueToRead | The value to read. |
If this method returns Good, the callback passed to BeginHistoryReadDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryReadRaw | ( | HistoryDataOperationHandle | operationHandle, |
HistoryReadValueId | valueToRead | ||
) |
Begins an operation to read raw history data.
operationHandle | The operation handle. |
valueToRead | The value to read. |
If this method returns Good, the callback passed to BeginHistoryReadDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryUpdateData | ( | HistoryDataOperationHandle | operationHandle, |
UpdateDataDetails | details | ||
) |
Begins an operation to update raw history data.
operationHandle | The operation handle. |
details | The details. |
If this method returns Good, the callback passed to BeginHistoryUpdateDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryUpdateDataTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
TransactionType | transactionType, | ||
Delegate | callback, | ||
object | callbackData, | ||
out HistoryDataTransactionHandle | handle | ||
) |
Begins the history transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
transactionType | Type of the transaction. |
callback | The callback. |
callbackData | The callback data. |
handle | The historical data transaction handle. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryUpdateEvent | ( | HistoryEventOperationHandle | operationHandle, |
UpdateEventDetails | details | ||
) |
Begins the history update event.
operationHandle | The operation handle. |
details | The details. |
If this method returns Good, the callback passed to BeginHistoryUpdateEventTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryUpdateEventTransaction | ( | RequestContext | context, |
uint | totalItemCountHint, | ||
TransactionType | transactionType, | ||
Delegate | callback, | ||
object | callbackData, | ||
out HistoryEventTransactionHandle | handle | ||
) |
Begins the history transaction.
context | The request context. |
totalItemCountHint | The total item count hint. |
transactionType | Type of the transaction. |
callback | The callback. |
callbackData | The callback data. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginHistoryUpdateStructureData | ( | HistoryDataOperationHandle | operationHandle, |
UpdateStructureDataDetails | details | ||
) |
Begins an operation to update structured history data.
operationHandle | The operation handle. |
details | The details. |
If this method returns Good, the callback passed to BeginHistoryUpdateDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginModifyDataMonitoring | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoredItemModifyRequest | settings | ||
) |
Begins a modify data operation (must not block).
operationHandle | The operation handle. |
settings | The settings. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginModifyEventMonitoring | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoredItemModifyRequest | settings | ||
) |
Modifies the monitoring for an item.
operationHandle | The operation handle. |
settings | The settings. |
If this method returns Good, the callback passed to BeginTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginRead | ( | NodeAttributeOperationHandle | operationHandle, |
ReadValueId | settings | ||
) |
Begins a read operation (must not block).
operationHandle | The operation handle. |
settings | The settings. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginSetDataMonitoringMode | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoringMode | monitoringMode, | ||
MonitoringParameters | parameters | ||
) |
Begins a set data monitoring mode operation (must not block).
operationHandle | The operation handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginSetEventMonitoringMode | ( | MonitoredItemOperationHandle | operationHandle, |
MonitoringMode | monitoringMode, | ||
MonitoringParameters | parameters | ||
) |
Changes the monitoring mode for an item.
operationHandle | The operation handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
If this method returns Good, the callback passed to BeginEventTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginStartDataMonitoring | ( | NodeAttributeOperationHandle | operationHandle, |
uint | monitoredItemId, | ||
MonitoredItemCreateRequest | settings, | ||
DataChangeEventHandler | callback | ||
) |
Begins a start data monitoring operation (must not block).
operationHandle | The operation handle. |
monitoredItemId | The monitored item id. |
settings | The settings. |
callback | The callback. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginStartEventMonitoring | ( | NotifierOperationHandle | operationHandle, |
MonitoredItemCreateRequest | settings, | ||
uint | monitoredItemId, | ||
EventNotificationEventHandler | callback | ||
) |
Starts monitoring an item.
operationHandle | The operation handle. |
settings | The settings. |
monitoredItemId | The monitored item id. |
callback | The callback to use when events occur. |
If this method returns Good, the callback passed to BeginTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IEventManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginStopDataMonitoring | ( | MonitoredItemOperationHandle | operationHandle | ) |
Begins a stop data monitoring operation (must not block).
operationHandle | The operation handle. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginStopEventMonitoring | ( | MonitoredItemOperationHandle | operationHandle | ) |
Stops monitoring an item.
operationHandle | The operation handle. |
If this method returns Good, the callback passed to BeginTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IEventManager.
|
virtual |
Begins a translate browse paths operation.
context | The request context. |
nodeToBrowse | The node to browse. |
relativePath | The relative path. |
index | The index. |
callback | The callback. |
callbackData | The callback data. |
Implements UnifiedAutomation.UaServer.INodeManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.BeginWrite | ( | NodeAttributeOperationHandle | operationHandle, |
WriteValue | settings | ||
) |
Begins the write.
operationHandle | The operation handle. |
settings | The settings. |
If this method returns Good, the callback passed to BeginDataTransaction must be called when the operation completes.
Implements UnifiedAutomation.UaServer.IIOManager.
|
protectedvirtual |
Browses the node specified in the continuation point.
context | The context. |
continuationPoint | The continuation point. |
results | The results. |
|
protected |
Calls the method.
context | The request context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
|
protectedvirtual |
Calls the method.
context | The request context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
inputArgumentResults | The input argument results. |
outputArguments | The output arguments. |
|
protected |
Determines whether this instance can write a value with the specified data type to the node in the specified context.
context | The request context. |
nodeHandle | The node handle. |
value | The value. |
|
protected |
Collects the nodes to delete. The children of the node are added to nodesToDelete recursicely.
node | The node to delete. |
nodesToDelete | The children of the node are added to this list. |
|
virtual |
Called when the condition refresh is called for a notifier higher in the hierarchy.
notifierId | The id for the notifier. |
itemHandle | The item handle. |
callback | The callback to call with the current state of all conditions. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
virtual |
Confirms a condition.
context | The request context. |
model | The condition being confirmed. |
eventId | The event id. |
comment | The comment. |
Implements UnifiedAutomation.UaServer.IAcknowledgeableConditionMethods.
Copies the node.
source | The source. |
copyValue | If set to true , the value is copied. If set to false , a reference to the value is returned. |
DataTypeNode UnifiedAutomation.UaServer.BaseNodeManager.CreateDataTypeNode | ( | RequestContext | context, |
CreateDataTypeSettings | settings | ||
) |
Creates a new data type node.
context | The request context. |
settings | The settings. |
MethodNode UnifiedAutomation.UaServer.BaseNodeManager.CreateMethod | ( | RequestContext | context, |
CreateMethodSettings | settings | ||
) |
Creates a new method node.
context | The request context. |
settings | The settings. |
|
protected |
Creates a new node id.
persistent | If set to true , the node will be persisted. |
namespaceIndex | Index of the namespace. |
ObjectNode UnifiedAutomation.UaServer.BaseNodeManager.CreateObject | ( | RequestContext | context, |
CreateObjectSettings | settings | ||
) |
Creates a new object node.
context | The request context. |
settings | The settings. |
ObjectTypeNode UnifiedAutomation.UaServer.BaseNodeManager.CreateObjectTypeNode | ( | RequestContext | context, |
CreateObjectTypeSettings | settings | ||
) |
Creates a new object type node.
context | The request context. |
settings | The settings. |
ReferenceTypeNode UnifiedAutomation.UaServer.BaseNodeManager.CreateReferenceTypeNode | ( | RequestContext | context, |
CreateReferenceTypeSettings | settings | ||
) |
Creates a new reference type node.
context | The request context. |
settings | The settings. |
VariableNode UnifiedAutomation.UaServer.BaseNodeManager.CreateVariable | ( | RequestContext | context, |
CreateVariableSettings | settings | ||
) |
Creates a new variable node.
context | The request context. |
settings | The settings. |
VariableTypeNode UnifiedAutomation.UaServer.BaseNodeManager.CreateVariableTypeNode | ( | RequestContext | context, |
CreateVariableTypeSettings | settings | ||
) |
Creates a new variable type node.
context | The request context. |
settings | The settings. |
ViewNode UnifiedAutomation.UaServer.BaseNodeManager.CreateView | ( | RequestContext | context, |
CreateViewSettings | settings | ||
) |
Creates a new view node.
context | The request context. |
settings | The settings. |
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.DeleteNode | ( | RequestContext | context, |
NodeId | nodeId, | ||
bool | deleteTargetReferences | ||
) |
Deletes the node.
context | The request context. |
nodeId | The node id. |
deleteTargetReferences | If set to true , the references from other nodes to the node are deleted as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.DeleteReference | ( | RequestContext | context, |
NodeId | sourceNodeId, | ||
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
ExpandedNodeId | targetNodeId, | ||
bool | deleteBiDirectional | ||
) |
Deletes the reference.
context | The request context. |
sourceNodeId | The source node id. |
referenceTypeId | The reference type id. |
isInverse | If set to true then the reference is a inverse reference. |
targetNodeId | The target node id. |
deleteBiDirectional | If set to true then the reverse reference is deleted as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
virtual |
Disables a condition.
context | The request context. |
model | The condition being disabled. |
Implements UnifiedAutomation.UaServer.IConditionMethods.
void UnifiedAutomation.UaServer.BaseNodeManager.Dispose | ( | ) |
Frees any unmanaged resources.
|
protectedvirtual |
An overrideable version of the Dispose.
|
virtual |
Enables a condition.
context | The request context. |
model | The condition being enabled. |
Implements UnifiedAutomation.UaServer.IConditionMethods.
|
virtual |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy.
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
parameters | The parameters. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
virtual |
Called when monitoring starts for a notifier from another IEventManager higher in the hierarchy.
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
parameters | The parameters. |
callback | The callback to use when events occur. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
virtual |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy.
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
Implements UnifiedAutomation.UaServer.IEventManager.
Node UnifiedAutomation.UaServer.BaseNodeManager.FindInMemoryNode | ( | NodeId | sourceId, |
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
StringTable | namespaceUris, | ||
string | browsePath | ||
) |
Finds the in memory node.
sourceId | The source id. |
referenceTypeId | The reference type id. |
isInverse | Set to true , if the reference is an inverse reference. |
namespaceUris | The namespace uris. |
browsePath | The browse path. |
Node UnifiedAutomation.UaServer.BaseNodeManager.FindInMemoryNode | ( | NodeId | sourceId, |
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
params AbsoluteName[] | browseNames | ||
) |
Finds the in memory node.
sourceId | The source id. |
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
browseNames | The browse names. |
Node UnifiedAutomation.UaServer.BaseNodeManager.FindInMemoryNode | ( | NodeId | sourceId, |
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
params QualifiedName[] | browseNames | ||
) |
Finds the in memory node.
sourceId | The source id. |
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
browseNames | The browse names. |
Finds the in memory node.
nodeId | The node id. |
|
virtual |
Finishes the call transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IMethodManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishDataTransaction | ( | TransactionHandle | transaction | ) |
Finishes the transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IIOManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishEventTransaction | ( | TransactionHandle | transaction | ) |
Finishes the transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IEventManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishHistoryReadDataTransaction | ( | HistoryDataTransactionHandle | transaction | ) |
Finishes the history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishHistoryReadEventTransaction | ( | HistoryEventTransactionHandle | transaction | ) |
Finishes the event history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryReadEventManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishHistoryUpdateDataTransaction | ( | HistoryDataTransactionHandle | transaction | ) |
Finishes the history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
void UnifiedAutomation.UaServer.BaseNodeManager.FinishHistoryUpdateEventTransaction | ( | HistoryEventTransactionHandle | transaction | ) |
Finishes the history event transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateEventManager.
|
protectedvirtual |
Finishes the modify data monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the modify event monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the read transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the modify data monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the set event monitoring mode transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the start data monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the start event monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the stop data monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the stop event monitoring transaction.
transaction | The transaction. |
|
protectedvirtual |
Finishes the write transaction.
transaction | The transaction. |
|
virtual |
Gets the browse handle for the specified node.
context | The request context. |
view | The view. |
nodeId | The node id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Gets the history data handle for the specified variable.
context | The request context. |
variableId | The variable id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Gets the history events handle for the specified notifier.
context | The request context. |
notifierId | The notifier id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
protectedvirtual |
Gets the method handler.
context | The request context. |
methodHandle | The method handle. |
|
virtual |
Gets the method handle for the specified object and method.
context | The request context. |
objectId | The object id. |
methodId | The method id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Gets the node attributes.
context | The request context. |
browseHandle | The browse handle. |
expectedNodeClass | The expected node class. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
virtual |
Gets the node handle for the specified node and attribute.
context | The request context. |
nodeId | The node id. |
attributeId | The attribute id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Gets the node metadata.
context | The request context. |
browseHandle | The browse handle. |
fieldsToReturn | The fields to return. |
nodeClassFilter | The node class filter. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
object UnifiedAutomation.UaServer.BaseNodeManager.GetNodeUserData | ( | NodeId | nodeId | ) |
Gets the user data for a node.
nodeId | The node id. |
The user data for a Node passed as the NodeData in all handles created by the NodeManager.
|
virtual |
Gets the notifier handle for the specified notifier.
context | The request context. |
nodeId | The node id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
protected |
Gets the user access level.
context | The request context. |
nodeId | The node id. |
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.GetViewHandle | ( | RequestContext | context, |
ViewDescription | view, | ||
out ViewHandle | handle | ||
) |
Gets the view handle for the specified view.
context | The request context. |
view | The view. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Determines whether the specified context has access to the browse handle.
context | The request context. |
browseHandle | The browse handle. |
true
if the specified context has access; otherwise, false
. Implements UnifiedAutomation.UaServer.IUserAccessManager.
|
virtual |
Determines whether the specified context has access to the browse handle.
context | The request context. |
methodHandle | The method handle. |
true
if the specified context has access; otherwise, false
. Implements UnifiedAutomation.UaServer.IUserAccessManager.
|
virtual |
Determines whether the current context has specified access to the handle.
context | The request context. |
nodeHandle | The node handle. |
accessMasks | The desired access masks. |
true
, if the specified context has access; otherwise, false
. Implements UnifiedAutomation.UaServer.IUserAccessManager.
|
virtual |
Determines whether the specified context has access to the history data handle.
context | The request context. |
nodeHandle | The node handle. |
accessMasks | The desired access masks. |
true
, if the specified context has access; otherwise, false
. Implements UnifiedAutomation.UaServer.IUserAccessManager.
|
virtual |
Determines whether the specified context has access to the history event handle.
context | The request context. |
nodeHandle | The node handle. |
accessMasks |
true
if the specified context has access; otherwise, false
. Implements UnifiedAutomation.UaServer.IUserAccessManager.
|
protectedvirtual |
Determines whether the specified context has permision to add nodes.
context | The context. |
parent | The parent of the node to add. |
referenceTypeId | The reference type from the parent to the node to add. |
typeDefinitionId | The type definition of the node to add. |
true
, if the context has permission; otherwise, false
.
|
protectedvirtual |
Determines whether the specified context has permission to add the reference.
context | The context. |
sourceId | The source id. |
referenceTypeId | The reference type id. |
isInverse | If set to true [is inverse]. |
true
if the context has permission; otherwise, false
.
|
protectedvirtual |
Determines whether the specified context has permision to delete nodes.
context | The context |
nodeToDelete | The node to delete. |
true
, if the context has permission; otherwise, false
.
|
protectedvirtual |
Determines whether the specified context has permission to delete the reference.
context | The context. |
sourceId | The source id. |
referenceTypeId | The reference type id. |
isInverse | If set to true , the reference is inverse. |
true
, if the context has permission; otherwise, false
.
|
protectedvirtual |
Deletes history data at specific times for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Deletes history data at specific times for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
protectedvirtual |
Deletes event history for a single notifier.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Deletes event history for a group of notifiers.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
protectedvirtual |
Delete raw history data for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Delete raw history data for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
protectedvirtual |
Reads the history at specific time for a single variable.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
continuationPoint | The continuation point. |
|
protectedvirtual |
Reads the history at specific time for a group of variables.
context | The request context. |
transaction | The transaction. |
details | The details. |
operationHandles | The operation handles. |
valuesToRead | The values to read. |
continuationPoints | The continuation points. |
|
protectedvirtual |
Reads the event history for a single notifier.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
|
protectedvirtual |
Reads the event history for a group of notifiers.
context | The request context. |
transaction | The transaction. |
details | The details. |
operationHandles | The operation handles. |
notifiersToRead | The notifiers to read. |
|
protectedvirtual |
Reads the processed history for a single variable.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
continuationPoint | The continuation point. |
|
protectedvirtual |
Reads the processed history for a group of variables.
context | The request context. |
transaction | The transaction. |
details | The details. |
operationHandles | The operation handles. |
valueToRead | The value to read. |
continuationPoints | The continuation points. |
|
protectedvirtual |
Reads the raw history for a single variable.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
continuationPoint | The continuation point. |
|
protectedvirtual |
Reads the raw history for a group of variables.
context | The request context. |
transaction | The transaction. |
details | The details. |
operationHandles | The operation handles. |
valuesToRead | The values to read. |
continuationPoints | The continuation points. |
|
protectedvirtual |
Updates the data history for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Updates the data history for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
protectedvirtual |
Updates the event history for a single notifier.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Updates the event history for a group of notifiers.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
protectedvirtual |
Updates structured history data for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
protectedvirtual |
Updates structured history data for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
void UnifiedAutomation.UaServer.BaseNodeManager.Import | ( | List< Node > | nodes | ) |
Imports the list of nodes.
nodes | The nodes. |
void UnifiedAutomation.UaServer.BaseNodeManager.ImportUaNodeset | ( | Assembly | assembly, |
string | resourcePath | ||
) |
Imports the nodeset from an embedded resource.
assembly | The assembly. |
resourcePath | The resource path. |
If an exact match is not found the first resource with a path that ends with the resourcePath is used.
void UnifiedAutomation.UaServer.BaseNodeManager.ImportUaNodeset | ( | FileInfo | file | ) |
Imports the ua nodeset from a file.
file | The file. |
void UnifiedAutomation.UaServer.BaseNodeManager.ImportUaNodeset | ( | Stream | istrm | ) |
Imports the nodes from the stream.
istrm | The istrm. |
void UnifiedAutomation.UaServer.BaseNodeManager.ImportUaNodeset | ( | UaSchema.UANodeSet | nodeset | ) |
Imports the specified nodeset.
nodeset | The nodeset. |
|
protectedvirtual |
Called when data monitoring is modified.
context | The request context. |
nodeHandle | The node handle. |
samplingInterval | The sampling interval. |
|
protectedvirtual |
Called when data monitoring starts.
context | The request context. |
nodeHandle | The node handle. |
samplingInterval | The sampling interval. |
|
protectedvirtual |
Called when data monitoring is stopped.
context | The request context. |
nodeHandle | The node handle. |
|
protectedvirtual |
Called before an in-memory node is read.
context | The request context. |
nodeHandle | The node handle. |
node | The node. |
|
protectedvirtual |
Called after an in-memory node is updated.
context | The request context. |
nodeHandle | The node handle. |
node | The node. |
|
protectedvirtual |
Determines whether the node id is invalid.
nodeId | The node id. |
true
if the is node id invalid; otherwise, false
.
|
protectedvirtual |
Determines whether the node id is invalid.
true
if the is node id invalid; otherwise, false
.
|
protected |
Determines whether the notifier is above the source in the tree.
notifierHandle | The notifier handle. |
sourceId | The source id. |
true
if the notifier is above the source; otherwise, false
. bool UnifiedAutomation.UaServer.BaseNodeManager.IsReferenceInView | ( | RequestContext | context, |
ViewHandle | view, | ||
BrowseHandle | sourceHandle, | ||
NodeId | referenceTypeId, | ||
bool | isInverse, | ||
ExpandedNodeId | targetId | ||
) |
Determines whether the reference is in the specified view.
context | The request context. |
view | The view. |
sourceHandle | The source handle. |
referenceTypeId | The reference type id. |
isInverse | if set to true then the reference is an inverse reference. |
targetId | The target id. |
true
if the reference is in the view; otherwise, false
. ModelHandle UnifiedAutomation.UaServer.BaseNodeManager.LinkModelToNode | ( | NodeId | rootId, |
object | instance, | ||
object | syncLock, | ||
IModelMapper | mapper, | ||
double | minimumSamplingInterval | ||
) |
Links an object to a node in the address space.
rootId | The root id. |
instance | The instance. |
syncLock | The sync lock. |
mapper | The mapper. |
minimumSamplingInterval | The minimum sampling interval. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
|
protectedvirtual |
Modifies data monitoring for a single node attribute value.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
|
protectedvirtual |
Modifies data monitoring for a group of node attribute values.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
settings | The settings. |
|
protectedvirtual |
Modifies the event monitoring for a single item.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
|
protectedvirtual |
Modifies the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction. |
itemHandles | The item handles. |
settings | The settings. |
|
virtual |
Called when condition refresh has been called for the notifier.
notifierId | The notifier id. |
itemHandle | The item handle. |
callback | The callback to use to report the current state of all conditions. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.OneShotShelve | ( | RequestContext | context, |
ShelvedStateMachineModel | model | ||
) |
Shelves a condition until the next time it goes into the active state.
context | The request context. |
model | The state machine for the condition being shelved. |
Implements UnifiedAutomation.UaServer.IShelvedStateMachineMethods.
|
virtual |
Called when event monitoring has been modified for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
virtual |
Called when event monitoring has started for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
virtual |
Called when event monitoring has stopped for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
protectedvirtual |
Called when a new persistent node is added.
context | The request context. |
node | The node. |
|
protectedvirtual |
Called when a new persistent reference is added.
context | The request context. |
node | The node. |
reference | The reference. |
|
protectedvirtual |
Called when a new persistent node is deleted.
context | The request context. |
node | The node. |
|
protectedvirtual |
Called when a new persistent reference is deleted.
context | The request context. |
node | The node. |
reference | The reference. |
|
protected |
Processes the references in the list.
context | The request context. |
continuationPoint | The continuation point. |
references | The references. |
results | The results. |
|
protectedvirtual |
Reads the attribute.
context | The request context. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
protectedvirtual |
Reads the attributes.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
settings | The settings. |
|
virtual |
Reads the attribute.
context | The request context. |
nodeHandle | The node handle. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
virtual |
Reads the attribute value for a child node.
T | The data type of the attribute to read. |
context | The request context. |
nodeHandle | The node handle. |
componentName | Name of the component. |
defaultValue | The default value. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
virtual |
Reads the attribute value for a child node.
T | The data type of the value to read. |
context | The request context. |
nodeHandle | The node handle. |
browsePath | The browse path. |
defaultValue | The default value. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
void UnifiedAutomation.UaServer.BaseNodeManager.RemoveCrossReference | ( | NodeId | sourceNodeId, |
INodeManager | manager | ||
) |
Removes the cross reference.
sourceNodeId | The source node id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.INodeManagerEx.
void UnifiedAutomation.UaServer.BaseNodeManager.RemoveNotifier | ( | NodeId | notifierId, |
IEventManager | manager | ||
) |
Removes a link from IEventManager to a notifier.
notifierId | The notifier id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
protected |
Reports the data changes.
context | The request context. |
nodeHandle | The node handle. |
|
virtual |
Reports an event for the notifier id.
notifierId | The notifier id. |
e | The event. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
virtual |
Called when a session is activated.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Called when a new session is closed.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
virtual |
Called when a new session is created.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
void UnifiedAutomation.UaServer.BaseNodeManager.SetChildUserData | ( | NodeId | parentId, |
QualifiedName | browseName, | ||
object | userData | ||
) |
Sets the user data for the child of a node.
parentId | The parent id. |
browseName | The browse name of the child. |
userData | The user data. |
The user data for a Node passed as the NodeData in all handles created by the NodeManager.
|
protectedvirtual |
Sets the monitoring mode for a single monitored item.
context | The request context. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
|
protectedvirtual |
Sets the monitoring mode for a group of monitored items.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
monitoringModes | The monitoring modes. |
parameters | The parameters. |
|
protectedvirtual |
Changes the event monitoring mode for a single item.
context | The request context. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |
|
protectedvirtual |
Changes the event monitoring mode for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction. |
itemHandles | The item handles. |
monitoringModes | The monitoring modes. |
void UnifiedAutomation.UaServer.BaseNodeManager.SetNodeAttributeConfiguration | ( | NodeId | nodeId, |
uint | attributeId, | ||
uint | handleType, | ||
object | handleData | ||
) |
Sets the node attribute configuration.
nodeId | The node id. |
attributeId | The attribute id. |
handleType | Type of the handle. |
handleData | The handle data. |
The node attribute configuration controls how the NodeManager handles I/O for the attribute value. The NodeHandleType defines standard values which can be passed as the handleType. The handleData is passed as the UserData when the NodeAttributeHandle.
void UnifiedAutomation.UaServer.BaseNodeManager.SetNodeUserData | ( | NodeId | nodeId, |
object | userData | ||
) |
Sets the user data for a node.
nodeId | The node id. |
userData | The user data. |
The user data for a Node passed as the NodeData in all handles created by the NodeManager.
VariableNode UnifiedAutomation.UaServer.BaseNodeManager.SetVariableConfiguration | ( | NodeId | parentId, |
QualifiedName | browseName, | ||
uint | handleType, | ||
object | handleData | ||
) |
Sets the variable configuration.
parentId | The parent id. |
browseName | The browse name of the variable. |
handleType | Type of the handle. |
handleData | The handle data. |
The variable configuration controls how the NodeManager handles I/O for the variable value. The NodeHandleType defines standard values which can be passed as the handleType. The handleData is passed as the UserData when the NodeAttributeHandle.
void UnifiedAutomation.UaServer.BaseNodeManager.SetVariableConfiguration | ( | NodeId | variableId, |
uint | handleType, | ||
object | handleData | ||
) |
Sets the variable configuration.
variableId | The variable id. |
handleType | Type of the handle. |
handleData | The handle data. |
The variable configuration controls how the NodeManager handles I/O for the variable value. The NodeHandleType defines standard values which can be passed as the handleType. The handleData is passed as the UserData when the NodeAttributeHandle.
bool UnifiedAutomation.UaServer.BaseNodeManager.SetVariableDefaultValue | ( | NodeId | parentId, |
QualifiedName | browseName, | ||
Variant | value | ||
) |
Sets the variable default value.
parentId | The parent id. |
browseName | The browse name of the variable to find. |
value | The value. |
This method sets the value for an in-memory node. It will not affect the value if the handleType set for the variable is not NodeHandleType.Internal
bool UnifiedAutomation.UaServer.BaseNodeManager.SetVariableDefaultValue | ( | NodeId | variableId, |
Variant | value | ||
) |
Sets the variable value configuration.
variableId | The variable id. |
value | The value. |
This method sets the value for an in-memory node. It will not affect the value if the handleType set for the variable is not NodeHandleType.Internal
|
virtual |
Called when the node manager is stopped.
Implements UnifiedAutomation.UaServer.INodeManager.
|
protectedvirtual |
Start data monitoring for a single node attribute value.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
callback | The callback. |
|
protectedvirtual |
Start data monitoring for a group of node attributes.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
monitoredItemIds | The monitored item ids. |
settings | The settings. |
callback | The callback. |
|
protected |
Starts the data monitoring in memory node.
context | The request context. |
itemHandle | The item handle. |
request | The request. |
callback | The callback. |
result | The result. |
|
protected |
Starts the data monitoring of a mapped node.
context | The request context. |
itemHandle | The item handle. |
request | The request. |
callback | The callback. |
result | The result. |
|
protectedvirtual |
Starts the event monitoring for a single item.
context | The request context. |
notifierHandle | The notifier handle. |
monitoredItemId | The monitored item id. |
settings | The settings. |
callback | The callback to use when an event occurs. |
|
protectedvirtual |
Starts the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction. |
notifierHandles | The notifier handles. |
monitoredItemIds | The monitored item ids. |
settings | The settings. |
callbacks | The callbacks to use when an event occurs. |
|
virtual |
Called when the node manager is started.
Implements UnifiedAutomation.UaServer.INodeManager.
|
protectedvirtual |
Stops the data monitoring for a single node attribute value.
context | The request context. |
itemHandle | The item handle. |
|
protectedvirtual |
Stops the data monitoring for a group of node attribute values.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
|
protectedvirtual |
Stops the event monitoring for a single item.
context | The request context. |
itemHandle | The item handle. |
|
protectedvirtual |
Stop the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction. |
itemHandles | The item handles. |
settings | The settings. |
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.TimedShelve | ( | RequestContext | context, |
ShelvedStateMachineModel | model, | ||
double | shelvingTime | ||
) |
Shelves a condition for a period of time.
context | The request context. |
model | The state machine for the condition being shelved. |
shelvingTime | The shelving time. |
Implements UnifiedAutomation.UaServer.IShelvedStateMachineMethods.
void UnifiedAutomation.UaServer.BaseNodeManager.UnlinkModelFromNode | ( | NodeId | rootId, |
ModelHandle | handle | ||
) |
Unlinks an object from a node in the address space.
rootId | The root id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
StatusCode UnifiedAutomation.UaServer.BaseNodeManager.Unshelve | ( | RequestContext | context, |
ShelvedStateMachineModel | model | ||
) |
Unshelves a condition.
context | The request context. |
model | The state machine for the condition being shelved. |
Implements UnifiedAutomation.UaServer.IShelvedStateMachineMethods.
|
protected |
Validates the event monitoring request.
context | The request context. |
notifierHandle | The notifier handle. |
itemToMonitor | The item to monitor. |
parameters | The parameters. |
|
protectedvirtual |
Writes the value to a node attribute.
context | The request context. |
nodeHandle | The node handle. |
indexRange | The index range. |
value | The value. |
|
protectedvirtual |
Writes a value to a group of node attributes.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
settings | The settings. |
|
virtual |
Writes the attribute.
context | The request context. |
nodeHandle | The node handle. |
valueToWrite | The value to write. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
virtual |
Writes the attribute value for a child node.
context | The request context. |
nodeHandle | The node handle. |
componentName | Name of the component. |
valueToWrite | The value to write. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
virtual |
Writes the attribute value for a child node.
context | The request context. |
nodeHandle | The node handle. |
browsePath | The browse path. |
valueToWrite | The value to write. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
getset |
Gets or sets the default namespace index.
The default namespace index.
|
get |
Gets the lock to use when accessing the memory nodes.
|
getprotected |
Gets the set of in memory nodes.
|
get |
Gets the namespace indexes supported by the node manager.
|
get |
Gets the namespace uris supported by the node manager.
|
get |
Gets the node id generation settings.
The node id generation settings.
|
get |
Gets the server manager.
|
get |
Gets the supported methods.