IOManager2Callback Class Reference

#include <iomanager2.h>

Inheritance diagram for IOManager2Callback:

List of all members.

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

Detailed Description

Callback interface for the IOManager2 interface.


Constructor & Destructor Documentation

IOManager2Callback::IOManager2Callback (  ) [inline]

Construction

virtual IOManager2Callback::~IOManager2Callback (  ) [inline, virtual]

Destruction


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

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.

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

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.

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

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.

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

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.

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

Implemented in UaSubscription, and UaTransactionManager.


The documentation for this class was generated from the following file:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/iomanager2.h