C++ Based OPC UA Client/Server SDK  1.5.5.355
IOManager2Callback Class Referenceabstract

Callback interface for the IOManager2 interface. More...

#include <iomanager2.h>

Public Member Functions

 IOManager2Callback ()
 Construction.
 
virtual ~IOManager2Callback ()
 Destruction.
 
virtual UaStatus finishRead (OpcUa_UInt32 hTransaction, OpcUa_UInt32 processedCount, OpcUa_Boolean allowThreadUse)=0
 Finished read transaction for IOManager2 nodes. More...
 
virtual UaStatus finishWrite (OpcUa_UInt32 hTransaction, OpcUa_UInt32 processedCount, OpcUa_Boolean allowThreadUse)=0
 Finished write transaction for IOManager2 nodes. More...
 
virtual UaStatus finishStartMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaUInt32Array &hIOVariableArray, const UaDoubleArray &revisedSamplingIntervalArray, const UaStatusCodeArray &resultArray)=0
 Finished start monitoring transaction for IOManager2 nodes. More...
 
virtual UaStatus finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaDoubleArray &revisedSamplingIntervalArray, const UaStatusCodeArray &resultArray)=0
 Finished modify monitoring transaction for IOManager2 nodes. More...
 
virtual UaStatus finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_Boolean allowThreadUse, const UaUInt32Array &callbackHandles, const UaStatusCodeArray &resultArray)=0
 Finished stop monitoring transaction for IOManager2 nodes. More...
 

Detailed Description

Callback interface for the IOManager2 interface.

Member Function Documentation

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.

Parameters
hTransactionHandle 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.
allowThreadUseIndicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction.
callbackHandlesArray of callback handles for the nodes processed by the the IOManager2.
revisedSamplingIntervalArrayThe array of revised sampling intervals for the created items.
resultArrayThe array of the create results for the created monitored items.
Returns
Result code
virtual UaStatus IOManager2Callback::finishRead ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  processedCount,
OpcUa_Boolean  allowThreadUse 
)
pure virtual

Finished read transaction for IOManager2 nodes.

Parameters
hTransactionHandle 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.
processedCountNumber of processed items
allowThreadUseIndicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction.
Returns
Result code
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.

Parameters
hTransactionHandle 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.
allowThreadUseIndicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction.
callbackHandlesArray of callback handles for the nodes processed by the the IOManager2.
hIOVariableArrayThe array of handles for the items created by the the IOManager2 in beginStartMonitoring.
revisedSamplingIntervalArrayThe array of revised sampling intervals for the created items.
resultArrayThe array of the create results for the created monitored items.
Returns
Result code
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.

Parameters
hTransactionHandle 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.
allowThreadUseIndicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction.
callbackHandlesArray of callback handles for the nodes processed by the the IOManager2.
resultArrayThe array of the remove results for the monitored items.
Returns
Result code
virtual UaStatus IOManager2Callback::finishWrite ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  processedCount,
OpcUa_Boolean  allowThreadUse 
)
pure virtual

Finished write transaction for IOManager2 nodes.

Parameters
hTransactionHandle 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.
processedCountNumber of processed items
allowThreadUseIndicates if the calling thread can be used to send the response if this is the callback for the last nodes in the transaction.
Returns
Result code

The documentation for this class was generated from the following file: