.NET Based OPC UA Client/Server SDK
3.1.0.500
|
A base class for all node managers. More...
Inherits UnifiedAutomation.UaServer.INodeManagerEx, UnifiedAutomation.UaServer.INodeManagementManager, UnifiedAutomation.UaBase.IDefinitionHelper, UnifiedAutomation.UaBase.INodeAccessInfoFactory, 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.IAlarmConditionMethods, UnifiedAutomation.UaServer.IShelvedStateMachineMethods, UnifiedAutomation.UaServer.IAdvancedNodeManager, IDisposable, UnifiedAutomation.UaServer.IObjectMappingManager, and UnifiedAutomation.UaServer.IUserAccessManager.
Inherited by UnifiedAutomation.UaServer.BaseNodeManagerEx, and UnifiedAutomation.UaServer.CoreNodeManager.
Classes | |
class | BuiltInBrowseStage |
The built-in handle types for the node manager. More... | |
class | MappedNode |
A class that maps an object to a node. More... | |
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. This method can be used if the values of the children are stored in a single instance of a class. The values of instance can be accessed by using the specified mapper. 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... | |
void | SetMethodDispatcher (NodeId methodId, IMethodDispatcher dispatcher) |
Sets the method dispatcher for a method. More... | |
void | SetNodePermissions (NodeId nodeId, INodeAccessInfo permissions, bool recursive) |
Sets the permissions for a node. More... | |
void | SetNodePermissions (NodeId parentId, QualifiedName browseName, INodeAccessInfo permissions, bool recursive=false) |
Sets the permissions for a node. More... | |
INodeAccessInfo | GetNodePermission (NodeId nodeId) |
Returns the permissions for a node. 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... | |
Node | FindInMemoryNode (NodeId nodeId) |
Finds the in memory node. More... | |
SchemaBuilder | CreateTypeDictionary (RequestContext context, CreateTypeDictionarySettings settings) |
Creates a class that can be used to dynamically build data types descriptions. More... | |
void | CreateGenericDataType (RequestContext context, GenericDataType dataType, ushort namespaceIndex) |
Creates the nodes required to represent a generic data type in the address space, 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... | |
virtual 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 (RequestContext context, 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 (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle, MonitoringParameters parameters) |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy. More... | |
virtual void | EventMonitoringStopped (RequestContext context, NodeId notifierId, MonitoredItemHandle itemHandle) |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy. More... | |
virtual void | ConditionRefresh (RequestContext context, 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... | |
virtual StatusCode | PlaceInService (RequestContext context, AlarmConditionModel model) |
virtual StatusCode | RemoveFromService (RequestContext context, AlarmConditionModel model) |
virtual StatusCode | Reset (RequestContext context, AlarmConditionModel model) |
virtual StatusCode | Silence (RequestContext context, AlarmConditionModel model) |
virtual StatusCode | Suppress (RequestContext context, AlarmConditionModel model) |
virtual StatusCode | Unsuppress (RequestContext context, AlarmConditionModel model) |
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... | |
virtual StatusCode | BeginDataTransaction (RequestContext context, uint totalItemCountHint, double maxAge, TimestampsToReturn timestampsToReturn, TransactionType transactionType, Delegate callback, object callbackData, out TransactionHandle handle) |
Begins the data transaction. More... | |
virtual 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... | |
virtual 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... | |
virtual INodeAccessInfo | NodeAccessInfoFromShema (UaSchema.NodeAccessInfo nodeAccessInfo) |
Returns the INodeAccessInfo from the Extension defines in a NodeSet XML file 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... | |
NodeId | EncodingId (NodeId dataTypeId, UaBase.QualifiedName encodingName) |
StructureFieldDataSettingsCollection | StructureFields (NodeId dataTypeId) |
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... | |
Public Attributes | |
bool | DisableAttributeReadAccessCheck |
Gets or sets a value indicating whether the access right check for ReadAttribute is disabled for in memory nodes. 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 | 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 HistoryDataReadRawContinuationPoint | CreateHistoryContinuationPoint (RequestContext context, ReadRawModifiedDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding) |
Creates the history continuation point. 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, NodeId aggregateId, string indexRange, QualifiedName dataEncoding, ref HistoryContinuationPoint continuationPoint) |
Reads the processed history for a single variable. More... | |
virtual HistoryDataReadProcessedContinuationPoint | CreateHistoryContinuationPoint (RequestContext context, ReadProcessedDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding, NodeId aggregateId) |
Creates the history continuation point. More... | |
virtual void | ReviseAggregateConfiguration (RequestContext context, HistoryDataHandle nodeHandle, AggregateConfiguration configurationToUse, out bool stepped) |
Revises the aggregate configuration. 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 HistoryDataReadAtTimeContinuationPoint | CreateHistoryContinuationPoint (RequestContext context, ReadAtTimeDetails details, HistoryDataHandle nodeHandle, string indexRange, QualifiedName dataEncoding) |
Creates the history continuation point. 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, ref HistoryContinuationPoint continuationPoint) |
Reads the event history for a single notifier. More... | |
virtual void | HistoryReadEvent (RequestContext context, HistoryEventTransactionHandle transaction, ReadEventDetails details, IList< HistoryEventOperationHandle > operationHandles, IList< HistoryReadValueId > notifiersToRead, IList< HistoryContinuationPoint > continuationPoints) |
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 StatusCode | ValidateDataEncoding (RequestContext context, NodeAttributeHandle nodeHandle, QualifiedName dataEncoding) |
Validates the data encoding. 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... | |
virtual DataValue | Translate (RequestContext context, DataValue dv) |
Translates the specified text based on the strings stored in the ResourceManager. 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 set data monitoring mode 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 | BeforeNodesDeleted (RequestContext context, IList< Node > nodes) |
This method can be reimplemented in a subclass. The method is called before nodes are deleted. More... | |
virtual void | AfterNodesDeleted (RequestContext context, IList< Node > nodes) |
This method can be reimplemented in a subclass. The method is called after nodes are deleted. 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 NodeId | CreateNodeId (NodeId parentNodeId, QualifiedName browseName, NodeClass nodeClass, ushort namespaceIndex) |
Creates a new NodeId. 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 | |
INodeAccessInfo | DefaultPermissions [get, set] |
THe default permissions for nodes managed by the node manager. More... | |
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.
|
inline |
Initializes a new instance of the BaseNodeManager class.
server | The server. |
namespaceUris | The namespace uris. |
|
inlinevirtual |
Acknowledges a condition.
context | The request context. |
model | The condition being acknowledged. |
eventId | The event id. |
comment | The comment. |
Implements UnifiedAutomation.UaServer.IAcknowledgeableConditionMethods.
|
inlinevirtual |
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.
|
inline |
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.
|
inline |
Adds the namespace URI.
namespaceUri | The namespace URI. |
|
inline |
Adds a new node.
context | The request context. |
settings | The settings. |
assignedNodeId | The assigned node id. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inline |
Adds a link from an IEventManager to a notifier.
notifierId | The notifier id. |
manager | The event manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inlineprotected |
Removes a local notifier.
notifierId | The notifier id. |
parents | The parents. |
|
inline |
Adds a reference.
context | The request context. |
sourceNodeId | The NodeId of the source node. This node must be managed by the current BaseNodeManager. If the source node is not managed by the current BaseNodeManager, you can add an inverse reference from the target node to the source node. |
referenceTypeId | The NodeId of the reference type. |
isInverse | If set to true , then the reference is a inverse reference. |
targetNodeId | The NodeId of the target node. This ExpandedNodeId must not be absolute, i.e. the NamespaceUri must be set, but neither the ServerIndex nor the NamespaceIndex. |
addBiDirectional | If set to true , then the reverse reference is added as well. |
Implements UnifiedAutomation.UaServer.INodeManagementManager.
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
This method can be reimplemented in a subclass. The method is called after nodes are added.
context | The request context. |
nodes | The nodes. |
|
inlineprotectedvirtual |
This method can be reimplemented in a subclass. The method is called after nodes are deleted.
context | The request context. |
nodes | The nodes. |
|
inlineprotectedvirtual |
Applies the data encoding (modifies the input DataValue).
input | The input. |
dataEncoding | The data encoding. |
|
inlineprotected |
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. |
|
inlineprotected |
Applies the index range and the encoding (modifies the input DataValue).
input | The input. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
inlineprotectedvirtual |
This method can be reimplemented in a subclass. The method is called before nodes are added.
context | The request context. |
nodes | The nodes. |
|
inlineprotectedvirtual |
This method can be reimplemented in a subclass. The method is called before nodes are deleted.
context | The request context. |
nodes | The nodes. |
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inlinevirtual |
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.
|
inline |
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.
|
inlineprotectedvirtual |
Browses the node specified in the continuation point.
context | The context. |
continuationPoint | The continuation point. |
results | The results. |
|
inlineprotected |
Calls the method.
context | The request context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
|
inlineprotectedvirtual |
Calls the method.
context | The request context. |
methodHandle | The method handle. |
inputArguments | The input arguments. |
inputArgumentResults | The input argument results. |
outputArguments | The output arguments. |
|
inlineprotected |
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. |
|
inlineprotected |
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. |
|
inlinevirtual |
Called when the condition refresh is called for a notifier higher in the hierarchy.
context | The context. |
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.
|
inlinevirtual |
Confirms a condition.
context | The request context. |
model | The condition being confirmed. |
eventId | The event id. |
comment | The comment. |
Implements UnifiedAutomation.UaServer.IAcknowledgeableConditionMethods.
|
inlineprotected |
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. |
|
inline |
Creates a new data type node.
context | The request context. |
settings | The information about the DataType node. If DataTypeDefinition is a StructureDefinitionSettings, the properties DataTypeNode and SuperTypeId of StructureDefinitionSettings are set. DefinitionHelper is set to this NodeManager if not set yet. |
The following code will create an enumerated DataType and its property. // enum fields to define string[] fields = new string[] { "Red", "Blue", "Yellow" };
// fill collections for DataTypeDefinition attribute and EnumStrings property var enumFields = new EnumFieldCollection(); var enumStrings = new LocalizedTextCollection(); long currentValue = 0; foreach (var field in fields) { enumFields.Add(new EnumField() { Name = field, DisplayName = field, Value = currentValue++ }); enumStrings.Add(field); }
// create DataType node var dataTypeSettings = new CreateDataTypeSettings() { BrowseName = new QualifiedName("Color", DefaultNamespaceIndex), IsAbstract = false, ParentNodeId = DataTypeIds.Enumeration, ReferenceTypeId = ReferenceTypeIds.HasSubtype, RequestedNodeId = new NodeId(12345, DefaultNamespaceIndex), DataTypeDefinition = new EnumDefinitionSettings() { Fields = enumFields } };
var dataType = CreateDataTypeNode(Server.DefaultRequestContext, dataTypeSettings);
// create property var propertySettings = new CreateVariableSettings() { AccessLevel = AccessLevels.CurrentRead, BrowseName = BrowseNames.EnumStrings, DataType = DataTypeIds.LocalizedText, Historizing = false, ParentAsOwner = true, ParentNodeId = dataType.NodeId, ReferenceTypeId = ReferenceTypeIds.HasProperty, RequestedNodeId = new NodeId(12346, DefaultNamespaceIndex), TypeDefinitionId = VariableTypeIds.PropertyType, ValueRank = ValueRanks.OneDimension, ArrayDimensions = new UInt32Collection() { (uint) fields.Length }, Value = new Variant(enumStrings) };
CreateVariable(Server.DefaultRequestContext, propertySettings);
|
inline |
Creates the nodes required to represent a generic data type in the address space,
context | The request context. |
dataType | The description of the data type to add. |
namespaceIndex | The index of the namespace to use for any new NodeIds. |
The DataType, DefaultBinary Encoding, OPC Binary TypeDescription, DefaultXML Encoding and XML Schema TypeDescription Nodes are created. The NamespaceIndex overrides any namespace specified in the NodeIds defined in the data type object itself.
|
inlineprotectedvirtual |
Creates the history continuation point.
context | The context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
inlineprotectedvirtual |
Creates the history continuation point.
context | The context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
aggregateId | The aggregate id. |
|
inlineprotectedvirtual |
Creates the history continuation point.
context | The context. |
details | The details. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
|
inline |
Creates a new method node.
context | The request context. |
settings | The settings. |
|
inlineprotected |
Creates a new node id.
persistent | If set to true , the node will be persisted. |
namespaceIndex | Index of the namespace. |
The persistent flag indicates that the NodeId will be saved are used after a server restart. This may affect the creation of the NodeId in the subclass. It has no effect on the default implementation.
|
inlineprotectedvirtual |
Creates a new NodeId.
This method can be overrided to get influence on auto generated NodeIds.
parentNodeId | The NodeId of the parent node. This argument can be null. This argument can be used to construct the new NodeId from the NodeId of the parent. The default implementation ignores this argument. |
browseName | The BrowseName of the node that shall get a new NodeId. This argument can be used to construct the new NodeId. The default implementation ignores this argument. |
nodeClass | The NodeClass of the node that shall get a new NodeId. The default implementation ignores this argument. |
namespaceIndex | The NamespaceIndex of the new NodeId. |
|
inline |
Creates a new object node.
context | The request context. |
settings | The settings. |
|
inline |
Creates a new object type node.
context | The request context. |
settings | The settings. |
|
inline |
Creates a new reference type node.
context | The request context. |
settings | The settings. |
|
inline |
Creates a class that can be used to dynamically build data types descriptions.
context | The request context. |
settings | The settings used to initialize the dictionary. |
Each object creates an OPC Binary and XML Schema dictionary for the types added to it.
Each object has a NamespaceURI which is used for both dictionaries. By default the same URI is used for the NodeIds created to represent the types, however, this can be overridden.
When creating dictionaries the number of types should not get too large. The simplest way to control this is to create a multiple dictionaries with different URIs.
|
inline |
Creates a new variable node.
context | The request context. |
settings | The settings. |
|
inline |
Creates a new variable type node.
context | The request context. |
settings | The settings. |
|
inline |
Creates a new view node.
context | The request context. |
settings | The settings. |
|
inline |
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.
|
inline |
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.
|
inlinevirtual |
Disables a condition.
context | The request context. |
model | The condition being disabled. |
Implements UnifiedAutomation.UaServer.IConditionMethods.
|
inline |
Frees any unmanaged resources.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
|
inlinevirtual |
Enables a condition.
context | The request context. |
model | The condition being enabled. |
Implements UnifiedAutomation.UaServer.IConditionMethods.
|
inline |
|
inlinevirtual |
Called when monitoring changes for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
parameters | The parameters. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inlinevirtual |
Called when monitoring starts for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
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.
|
inlinevirtual |
Called when monitoring stops for a notifier from another IEventManager higher in the hierarchy.
context | The context. |
notifierId | The id for the notifier in the other IEventManager. |
itemHandle | The item handle. |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inlinevirtual |
Finishes the call transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IMethodManager.
|
inlinevirtual |
Finishes the transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
Implements UnifiedAutomation.UaServer.IIOManager.
|
inlinevirtual |
Finishes the transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
Implements UnifiedAutomation.UaServer.IEventManager.
|
inline |
Finishes the history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryReadDataManager.
|
inline |
Finishes the event history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryReadEventManager.
|
inline |
Finishes the history transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateDataManager.
|
inline |
Finishes the history event transaction.
transaction | The transaction. |
Implements UnifiedAutomation.UaServer.IHistoryUpdateEventManager.
|
inlineprotectedvirtual |
Finishes the modify data monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlineprotectedvirtual |
Finishes the modify event monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
|
inlineprotectedvirtual |
Finishes the read transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlineprotectedvirtual |
Finishes the set data monitoring mode transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlineprotectedvirtual |
Finishes the set event monitoring mode transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
|
inlineprotectedvirtual |
Finishes the start data monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlineprotectedvirtual |
Finishes the start event monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
|
inlineprotectedvirtual |
Finishes the stop data monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlineprotectedvirtual |
Finishes the stop event monitoring transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
|
inlineprotectedvirtual |
Finishes the write transaction.
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
|
inlinevirtual |
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.
|
inlinevirtual |
Gets the history data handle for the specified variable.
context | The request context. |
variableId | The variable id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlinevirtual |
Gets the history events handle for the specified notifier.
context | The request context. |
notifierId | The notifier id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlineprotectedvirtual |
Gets the method handler.
context | The request context. |
methodHandle | The method handle. |
|
inlinevirtual |
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.
|
inlinevirtual |
Gets the node attributes.
context | The request context. |
browseHandle | The browse handle. |
expectedNodeClass | The expected node class. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
inlinevirtual |
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.
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlinevirtual |
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.
|
inline |
Returns the permissions for a node.
nodeId | NodeId of the node. |
|
inline |
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.
|
inlinevirtual |
Gets the notifier handle for the specified notifier.
context | The request context. |
nodeId | The node id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlineprotected |
Gets the user access level.
context | The request context. |
nodeId | The node id. |
|
inline |
Gets the view handle for the specified view.
context | The request context. |
view | The view. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlineprotectedvirtual |
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
.
|
inlineprotectedvirtual |
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
.
|
inlineprotectedvirtual |
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
.
|
inlineprotectedvirtual |
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
.
|
inlineprotectedvirtual |
Deletes history data at specific times for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
Deletes event history for a single notifier.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
Deletes event history for a group of notifiers.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
inlineprotectedvirtual |
Delete raw history data for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
Delete raw history data for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
Reads the event history for a single notifier.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
continuationPoint | The continuation point. |
|
inlineprotectedvirtual |
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. |
continuationPoints | The continuation points. |
|
inlineprotectedvirtual |
Reads the processed history for a single variable.
context | The request context. |
details | The details. |
nodeHandle | The node handle. |
aggregateId | The aggregate id. |
indexRange | The index range. |
dataEncoding | The data encoding. |
continuationPoint | The continuation point. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
Updates the data history for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
Updates the data history for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
inlineprotectedvirtual |
Updates the event history for a single notifier.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
Updates the event history for a group of notifiers.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
inlineprotectedvirtual |
Updates structured history data for a single variable.
context | The request context. |
nodeHandle | The node handle. |
details | The details. |
|
inlineprotectedvirtual |
Updates structured history data for a group of variables.
context | The request context. |
transaction | The transaction. |
operationHandles | The operation handles. |
details | The details. |
|
inline |
Imports the list of nodes.
nodes | The nodes. |
|
inline |
Imports the nodeset from an embedded resource.
assembly | The assembly (if null the calling assembly is used). |
resourcePath | The resource path. |
If an exact match is not found the first resource with a path that ends with the resourcePath is used.
|
inline |
Imports the ua nodeset from a file.
file | The file. |
|
inline |
Imports the nodes from the stream.
istrm | The istrm. |
|
inline |
Imports the specified nodeset.
nodeset | The nodeset. |
|
inlineprotectedvirtual |
Called when data monitoring is modified.
context | The request context. |
nodeHandle | The node handle. |
samplingInterval | The sampling interval. |
|
inlineprotectedvirtual |
Called when data monitoring starts.
context | The request context. |
nodeHandle | The node handle. |
samplingInterval | The sampling interval. |
|
inlineprotectedvirtual |
Called when data monitoring is stopped.
context | The request context. |
nodeHandle | The node handle. |
|
inlineprotectedvirtual |
Called before an in-memory node is read.
context | The request context. |
nodeHandle | The node handle. |
node | The node. |
|
inlineprotectedvirtual |
Called after an in-memory node is updated.
context | The request context. |
nodeHandle | The node handle. |
node | The node. |
|
inlineprotectedvirtual |
Determines whether the node id is invalid.
nodeId | The node id. |
true
if the is node id invalid; otherwise, false
.
|
inlineprotectedvirtual |
Determines whether the node id is invalid.
true
if the is node id invalid; otherwise, false
.
|
inlineprotected |
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
.
|
inline |
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
.
|
inline |
Links an object to a node in the address space. This method can be used if the values of the children are stored in a single instance of a class. The values of instance can be accessed by using the specified mapper.
The UserData property of the node will be used to store the instance. So this property must not be set after LinkModelToNode called. This method overwrites the old value of UserData.
When calling this method, the NodeHandleType of the children of the node in addressspace with NodeClass Variable is set to InternalPolled.
rootId | The NodeId of the instance in address space. |
instance | The instance of the ModelControllerBase class. |
syncLock | The sync lock for reading and writing the child nodes. If null, the mapped child node will be used. |
mapper | The mapper (if null a reflection based mapper is used). |
minimumSamplingInterval | The minimum sampling interval that will be set as node attribute for children. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
|
inlineprotectedvirtual |
Modifies data monitoring for a single node attribute value.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlineprotectedvirtual |
Modifies data monitoring for a group of node attribute values.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
settings | The settings. |
|
inlineprotectedvirtual |
Modifies the event monitoring for a single item.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
|
inlineprotectedvirtual |
Modifies the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
itemHandles | The item handles. |
settings | The settings. |
|
inlinevirtual |
Returns the INodeAccessInfo from the Extension defines in a NodeSet XML file
nodeAccessInfo | The parsed extension. The sum of the number of groups and the number of users must not be greater than 2. If more groups or users are specified, null is returned. |
Implements UnifiedAutomation.UaBase.INodeAccessInfoFactory.
|
inlinevirtual |
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.
|
inline |
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.
|
inlinevirtual |
Called when event monitoring has been modified for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
inlinevirtual |
Called when event monitoring has started for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
inlinevirtual |
Called when event monitoring has stopped for a notifier.
notifierId | The notifier id. |
monitoredItem | The monitored item. |
Implements UnifiedAutomation.UaServer.INotifierManagerCallback.
|
inlineprotectedvirtual |
Called when a new persistent node is added.
context | The request context. |
node | The node. |
|
inlineprotectedvirtual |
Called when a new persistent reference is added.
context | The request context. |
node | The node. |
reference | The reference. |
|
inlineprotectedvirtual |
Called when a new persistent node is deleted.
context | The request context. |
node | The node. |
|
inlineprotectedvirtual |
Called when a new persistent reference is deleted.
context | The request context. |
node | The node. |
reference | The reference. |
|
inlinevirtual |
context | The request context. |
model | The alarm to place in. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inlineprotected |
Processes the references in the list.
///
UserAccessManager.HasAccess is called in Server.InternalClient.GetNodeMetadata. So only references that are allowed are returned.
context | The request context. |
continuationPoint | The continuation point. |
references | The references. |
results | The results. |
|
inlineprotectedvirtual |
Reads the attribute.
context | The request context. |
nodeHandle | The node handle. |
indexRange | The index range. |
dataEncoding | The data encoding. |
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlineprotectedvirtual |
Reads the attributes.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
settings | The settings. |
|
inlinevirtual |
Reads the attribute.
context | The request context. |
nodeHandle | The node handle. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inline |
Removes the cross reference.
sourceNodeId | The source node id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.INodeManagerEx.
|
inlinevirtual |
context | The request context. |
model | The alarm to remove. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inline |
Removes a link from IEventManager to a notifier.
notifierId | The notifier id. |
manager | The manager. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inlineprotected |
Reports the data changes.
context | The request context. |
nodeHandle | The node handle. |
|
inlinevirtual |
Reports an event for the notifier id.
notifierId | The notifier id. |
e | The event. |
Implements UnifiedAutomation.UaServer.IEventManagerEx.
|
inlinevirtual |
context | The request context. |
model | The alarm to reset. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inlineprotectedvirtual |
Revises the aggregate configuration.
context | The context. |
nodeHandle | The node handle. |
configurationToUse | The configuration to use. |
stepped | Whether the variable uses stepped or sloped interpolation. |
|
inlinevirtual |
Called when a session is activated.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlinevirtual |
Called when a new session is closed.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlinevirtual |
Called when a new session is created.
session | The session. |
Implements UnifiedAutomation.UaServer.INodeManager.
|
inline |
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.
|
inlineprotectedvirtual |
Sets the monitoring mode for a single monitored item.
context | The request context. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |
parameters | The parameters. |
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlineprotectedvirtual |
Sets the monitoring mode for a group of monitored items.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
monitoringModes | The monitoring modes. |
parameters | The parameters. |
|
inlineprotectedvirtual |
Changes the event monitoring mode for a single item.
context | The request context. |
itemHandle | The item handle. |
monitoringMode | The monitoring mode. |
|
inlineprotectedvirtual |
Changes the event monitoring mode for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
itemHandles | The item handles. |
monitoringModes | The monitoring modes. |
|
inline |
Sets the method dispatcher for a method.
methodId | The method id. |
dispatcher | The dispatcher. If NULL any existing dispatcher is removed. |
This method overrides the default behavoir for selecting method dispatchers (e.g. overriding the GetMethodDispatcher method or by linking an Objects with Methods to a model object).
|
inline |
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.
|
inline |
Sets the permissions for a node.
nodeId | The node id. |
permissions | The permissions for the node. |
recursive | True if the permissions should be applied to all child nodes; false otherwise. |
|
inline |
Sets the permissions for a node.
parentId | The parent id. |
browseName | The browse name of the variable. |
permissions | The permissions for the node. |
recursive | True if the permissions should be applied to all child nodes; false otherwise. |
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
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
|
inline |
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
|
inlinevirtual |
Called when the node manager is stopped.
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlinevirtual |
context | The request context. |
model | The alarm to make silent. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inlineprotectedvirtual |
Start data monitoring for a single node attribute value.
Sends an initial DataChange if this operation does not return null and if Read(RequestContext context, NodeAttributeHandle nodeHandle, string indexRange, QualifiedName dataEncoding) does not return null.
context | The request context. |
itemHandle | The item handle. |
settings | The settings. |
callback | The callback. |
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlineprotectedvirtual |
Start data monitoring for a group of node attributes.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
monitoredItemIds | The monitored item ids. |
settings | The settings. |
callback | The callback. |
|
inlineprotected |
Starts the data monitoring in memory node.
context | The request context. |
itemHandle | The item handle. |
request | The request. |
callback | The callback. |
result | The result. |
|
inlineprotected |
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. |
|
inlineprotectedvirtual |
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. |
|
inlineprotectedvirtual |
Starts the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
notifierHandles | The notifier handles. |
monitoredItemIds | The monitored item ids. |
settings | The settings. |
callbacks | The callbacks to use when an event occurs. |
|
inlinevirtual |
Called when the node manager is started.
Implements UnifiedAutomation.UaServer.INodeManager.
|
inlineprotectedvirtual |
Stops the data monitoring for a single node attribute value.
context | The request context. |
itemHandle | The item handle. |
Reimplemented in UnifiedAutomation.UaServer.BaseNodeManagerEx.
|
inlineprotectedvirtual |
Stops the data monitoring for a group of node attribute values.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
|
inlineprotectedvirtual |
Stops the event monitoring for a single item.
context | The request context. |
itemHandle | The item handle. |
|
inlineprotectedvirtual |
Stop the event monitoring for all unprocessed items in the transaction.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginEventTransaction). |
itemHandles | The item handles. |
settings | The settings. |
|
inline |
|
inlinevirtual |
context | The request context. |
model | The alarm to supress. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inline |
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.
|
inlineprotectedvirtual |
Translates the specified text based on the strings stored in the ResourceManager.
context | The request context. |
dv | The value to translate.. |
|
inline |
Unlinks an object from a node in the address space.
rootId | The root id. |
handle | The handle. |
Implements UnifiedAutomation.UaServer.IObjectMappingManager.
|
inline |
Unshelves a condition.
context | The request context. |
model | The state machine for the condition being shelved. |
Implements UnifiedAutomation.UaServer.IShelvedStateMachineMethods.
|
inlinevirtual |
context | The request context. |
model | The alarm to unsupress. |
Implements UnifiedAutomation.UaServer.IAlarmConditionMethods.
|
inlineprotectedvirtual |
Validates the data encoding.
context | The context. |
nodeHandle | The node handle. |
dataEncoding | The data encoding. |
|
inlineprotected |
Validates the event monitoring request.
context | The request context. |
notifierHandle | The notifier handle. |
itemToMonitor | The item to monitor. |
parameters | The parameters. |
|
inlineprotectedvirtual |
Writes the value to a node attribute.
This method must not block if it is overridden.
The default implementation writes all non Value atributes and the Value attribute of nodes that with NodeHandleType.Internal (i.e. in memory nodes that are not configured) and NodeHandleType.InternalPolled (i.e. nodes configured with LinkModelToNode). When writing to the Value attribute to nodes that are configured with other NodeHandleTypes null is returned.
context | The request context. |
nodeHandle | The node handle. |
indexRange | The index range. |
value | The value. |
|
inlineprotectedvirtual |
Writes a value to a group of node attributes.
context | The request context. |
transaction | The transaction (the value returned from BaseNodeManager.BeginDataTransaction). |
operationHandles | The operation handles. |
settings | The settings. |
|
inlinevirtual |
Writes the attribute.
context | The request context. |
nodeHandle | The node handle. |
valueToWrite | The value to write. |
Implements UnifiedAutomation.UaServer.IAdvancedNodeManager.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
bool UnifiedAutomation.UaServer.BaseNodeManager.DisableAttributeReadAccessCheck |
Gets or sets a value indicating whether the access right check for ReadAttribute is disabled for in memory nodes.
true
if access right check for ReadAttribute is disabled; otherwise, false
.
UserAccessMask.ReadAttribute has been added in SDK version 2.5. This enum value allows to control access to all attributes but the Value attribute. In older versions of the SDK all non-value attributes could be read. This property can be used to reset to old behavior.
|
getset |
Gets or sets the default namespace index.
The default namespace index.
|
getset |
THe default permissions for nodes managed by the node manager.
|
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.