#include <iomanager2.h>
Public Member Functions | |
IOManager2Callback () | |
virtual | ~IOManager2Callback () |
virtual UaStatus | finishRead (OpcUa_UInt32 hTransaction, OpcUa_UInt32 processedCount, OpcUa_Boolean allowThreadUse)=0 |
virtual UaStatus | finishWrite (OpcUa_UInt32 hTransaction, OpcUa_UInt32 processedCount, OpcUa_Boolean allowThreadUse)=0 |
virtual UaStatus | finishStartMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaUInt32Array &hIOVariableArray, const UaDoubleArray &revisedSamplingIntervalArray, const UaStatusCodeArray &resultArray)=0 |
virtual UaStatus | finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaDoubleArray &revisedSamplingIntervalArray, const UaStatusCodeArray &resultArray)=0 |
virtual UaStatus | finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaStatusCodeArray &resultArray)=0 |
Callback interface for the IOManager2 interface.
IOManager2Callback::IOManager2Callback | ( | ) | [inline] |
Construction
virtual IOManager2Callback::~IOManager2Callback | ( | ) | [inline, virtual] |
Destruction
virtual UaStatus IOManager2Callback::finishModifyMonitoring | ( | OpcUa_UInt32 | hTransaction, |
OpcUa_Boolean | allowThreadUse, | ||
const UaUInt32Array & | callbackHandles, | ||
const UaDoubleArray & | revisedSamplingIntervalArray, | ||
const UaStatusCodeArray & | resultArray | ||
) | [pure virtual] |
Finished modify monitoring transaction for IOManager2 nodes.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager2 with the beginModifyMonitoring method. |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction. |
callbackHandles | Array of callback handles for the nodes processed by the the IOManager2. |
revisedSamplingIntervalArray | The array of revised sampling intervals for the created items. |
resultArray | The array of the create results for the created monitored items. |
Implemented in UaSubscription, and UaTransactionManager.
virtual UaStatus IOManager2Callback::finishRead | ( | OpcUa_UInt32 | hTransaction, |
OpcUa_UInt32 | processedCount, | ||
OpcUa_Boolean | allowThreadUse | ||
) | [pure virtual] |
Finished read transaction for IOManager2 nodes.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager2 with the beginRead method. |
processedCount | Number of processed items |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction. |
Implemented in UaSubscription, and UaTransactionManager.
virtual UaStatus IOManager2Callback::finishStartMonitoring | ( | OpcUa_UInt32 | hTransaction, |
OpcUa_Boolean | allowThreadUse, | ||
const UaUInt32Array & | callbackHandles, | ||
const UaUInt32Array & | hIOVariableArray, | ||
const UaDoubleArray & | revisedSamplingIntervalArray, | ||
const UaStatusCodeArray & | resultArray | ||
) | [pure virtual] |
Finished start monitoring transaction for IOManager2 nodes.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager2 with the beginStartMonitoring method. |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction. |
callbackHandles | Array of callback handles for the nodes processed by the the IOManager2. |
hIOVariableArray | The array of handles for the items created by the the IOManager2 in beginStartMonitoring. |
revisedSamplingIntervalArray | The array of revised sampling intervals for the created items. |
resultArray | The array of the create results for the created monitored items. |
Implemented in UaSubscription, and UaTransactionManager.
virtual UaStatus IOManager2Callback::finishStopMonitoring | ( | OpcUa_UInt32 | hTransaction, |
OpcUa_Boolean | allowThreadUse, | ||
const UaUInt32Array & | callbackHandles, | ||
const UaStatusCodeArray & | resultArray | ||
) | [pure virtual] |
Finished stop monitoring transaction for IOManager2 nodes.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager2 with the beginStopMonitoring method. |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction. |
callbackHandles | Array of callback handles for the nodes processed by the the IOManager2. |
resultArray | The array of the remove results for the monitored items. |
Implemented in UaSubscription, and UaTransactionManager.
virtual UaStatus IOManager2Callback::finishWrite | ( | OpcUa_UInt32 | hTransaction, |
OpcUa_UInt32 | processedCount, | ||
OpcUa_Boolean | allowThreadUse | ||
) | [pure virtual] |
Finished write transaction for IOManager2 nodes.
hTransaction | Handle for the transaction used by the SDK to identify the transaction in the callbacks. This handle was passed in to the IOManager2 with the beginWrite method. |
processedCount | Number of processed items |
allowThreadUse | Indicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction. |
Implemented in UaSubscription, and UaTransactionManager.