C++ Based OPC UA Client/Server SDK
1.6.1.391
|
The corresponding callback interface for the IOManager. More...
#include <iomanager.h>
Inherited by CoreTransactions, InternalDurableSubscriptionCallback, UaSubscription, and UaTransactionManager.
Public Member Functions | |
IOManagerCallback () | |
Construction. | |
virtual | ~IOManagerCallback () |
Destruction. | |
virtual UaStatus | finishRead (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, UaDataValue &dataValue, OpcUa_Boolean detachValue=OpcUa_False, OpcUa_Boolean allowThreadUse=OpcUa_False, UaDiagnosticInfo *pDiagnosticInfo=NULL)=0 |
Finished reading of an attribute value of a node. More... | |
virtual UaStatus | finishWrite (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, const UaStatus &statusCode, OpcUa_Boolean allowThreadUse=OpcUa_False)=0 |
Finished writing of an attribute value of a node. More... | |
virtual UaStatus | finishStartMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 hIOVariable, OpcUa_Double revisedSamplingInterval, OpcUa_Boolean initialDataValueAvailable, const UaDataValue &initialDataValue, const UaStatus &statusCode)=0 |
Finished start monitoring of an attribute value of a node. More... | |
virtual UaStatus | finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_Double revisedSamplingInterval, const UaStatus &statusCode)=0 |
Finished modify monitoring of an attribute value of a node. More... | |
virtual UaStatus | finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, const UaStatus &statusCode)=0 |
Finished stop monitoring of an attribute value of a node. More... | |
The corresponding callback interface for the IOManager.
This callback interface provides all corresponding callback methods for the begin methods in the IOManager interface.
|
pure virtual |
Finished modify monitoring of an attribute value of a node.
The method is called to finish the modifying of the sampling attributes for a monitored item. The modifying is started with the beginModifyMonitoring method of the interface IOManager.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginModifyMonitoring method. |
revisedSamplingInterval | The corresponding revised sampling interval for the requested sampling interval in beginModifyMonitoring. |
statusCode | Result of the ModifyMonitoring operation. Optional diagnostig information requested by the client in the parameter ServiceContext::returnDiagnostics of IOManager::beginTransaction can be provided through UaStatus::setDiagnosticInfo(). |
Implemented in UaSubscription, UaTransactionManager, and InternalDurableSubscriptionCallback.
|
pure virtual |
Finished reading of an attribute value of a node.
The method is called to finish a read call for an attribute value of a node. The read is started with the beginRead method of the interface IOManager.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginRead method. |
dataValue | Contains the value, timestamps and result code for the Read operation. |
detachValue | Indicates if the method can detach the value from the wrapper class. |
allowThreadUse | Indicates if the calling thread can be used by the SDK to send the response to the client. This can happen if this method is the called for the last node in the transaction. True: The thread calling this method can be used to send the response and may block False: The SDK is using a worker thread to send the response to the client. |
pDiagnosticInfo | Optional diagnostig information requested by the client in the parameter ServiceContext::returnDiagnostics of IOManager::beginTransaction |
Implemented in UaSubscription, UaTransactionManager, and InternalDurableSubscriptionCallback.
|
pure virtual |
Finished start monitoring of an attribute value of a node.
The method is called to finish the starting of the sampling for a monitored item. The sampling is started with the beginStartMonitoring method of the interface IOManager.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginStartMonitoring method. |
hIOVariable | The handle of the item in the IOManager created with beginStartMonitoring. The handle is used by the SDK in beginModifyMonitoring and beginStopMonitoring to adress the item in the IOManager. |
revisedSamplingInterval | The corresponding revised sampling interval for the requested sampling interval in beginStartMonitoring. |
initialDataValueAvailable | Indicates if the initial value parameter is valid. |
initialDataValue | Contains the value, timestamps and result code for the initial value. |
statusCode | Result of the StartMonitoring operation. Optional diagnostig information requested by the client in the parameter ServiceContext::returnDiagnostics of IOManager::beginTransaction can be provided through UaStatus::setDiagnosticInfo(). |
Implemented in UaSubscription, UaTransactionManager, and InternalDurableSubscriptionCallback.
|
pure virtual |
Finished stop monitoring of an attribute value of a node.
The method is called to finish the stopping of the sampling for a monitored item. The stopping is started with the beginStopMonitoring method of the interface IOManager.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginStopMonitoring method. |
statusCode | Result of the StopMonitoring operation. Optional diagnostig information requested by the client in the parameter ServiceContext::returnDiagnostics of IOManager::beginTransaction can be provided through UaStatus::setDiagnosticInfo(). |
Implemented in UaSubscription, UaTransactionManager, and InternalDurableSubscriptionCallback.
|
pure virtual |
Finished writing of an attribute value of a node.
The method is called to finish a write call for an attribute value of a node. The write is started with the beginWrite method of the interface IOManager.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager with the beginTransaction method. |
callbackHandle | Handle for the node in the callback. This handle was passed in to the IOManager with the beginWrite method. |
statusCode | Result of the Write operation. Optional diagnostig information requested by the client in the parameter ServiceContext::returnDiagnostics of IOManager::beginTransaction can be provided through UaStatus::setDiagnosticInfo(). |
allowThreadUse | Indicates if the calling thread can be used by the SDK to send the response to the client. This can happen if this method is the called for the last node in the transaction. True: The thread calling this method can be used to send the response and may block False: The SDK is using a worker thread to send the response to the client. |
Implemented in UaSubscription, UaTransactionManager, and InternalDurableSubscriptionCallback.