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

The corresponding callback interface for the EventManager. More...

#include <eventmanager.h>

Inherited by CoreTransactions, and UaSubscription.

Public Member Functions

 EventManagerCallback ()
 construction
 
virtual ~EventManagerCallback ()
 destruction
 
virtual UaStatus finishStartMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_UInt32 hEventItem, OpcUa_Double revisedSamplingInterval, const UaStatus &statusCode, OpcUa_EventFilterResult *pEventFilterResult)=0
 Finished transaction to start monitoring an event item. More...
 
virtual UaStatus finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_Double revisedSamplingInterval, const UaStatus &statusCode, OpcUa_EventFilterResult *pEventFilterResult)=0
 Finished transaction to modify monitoring an event item. More...
 
virtual UaStatus finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, const UaStatus &statusCode)=0
 Finished transaction to stop monitoring an event item. More...
 

Detailed Description

The corresponding callback interface for the EventManager.

This callback interface provides all corresponding callback methods for the begin methods in the EventManager interface.

Member Function Documentation

virtual UaStatus EventManagerCallback::finishModifyMonitoring ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  callbackHandle,
OpcUa_UInt32  eventManagerIndex,
OpcUa_Double  revisedSamplingInterval,
const UaStatus statusCode,
OpcUa_EventFilterResult pEventFilterResult 
)
pure virtual

Finished transaction to modify monitoring an event item.

Parameters
hTransactionHandle 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.
callbackHandleHandle for the node in the callback. This handle was passed in to the EventManager with the beginModifyMonitoring method.
eventManagerIndexan Index of different EventManagers.
revisedSamplingIntervalThe corresponding revised sampling interval for the requested sampling interval in beginModifyMonitoring.
statusCodeResult of the ModifyMonitoring operation.
pEventFilterResultDetailed result for the event filter. Can be NULL if no error occurred. The SDK detaches the result content.
Returns
Result code of the method call

Implemented in UaSubscription.

virtual UaStatus EventManagerCallback::finishStartMonitoring ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  callbackHandle,
OpcUa_UInt32  eventManagerIndex,
OpcUa_UInt32  hEventItem,
OpcUa_Double  revisedSamplingInterval,
const UaStatus statusCode,
OpcUa_EventFilterResult pEventFilterResult 
)
pure virtual

Finished transaction to start monitoring an event item.

Parameters
hTransactionHandle 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.
callbackHandleHandle for the node in the callback. This handle was passed in to the EventManager with the beginStartMonitoring method.
eventManagerIndexan Index of different EventManagers.
hEventIteman EventItem used to fire an Event.
revisedSamplingIntervalThe corresponding revised sampling interval for the requested sampling interval in beginStartMonitoring.
statusCodeResult of the StartMonitoring operation.
pEventFilterResultDetailed result for the event filter. Can be NULL if no error occurred. The SDK detaches the result content.
Returns
Result code of the method call

Implemented in UaSubscription.

virtual UaStatus EventManagerCallback::finishStopMonitoring ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  callbackHandle,
OpcUa_UInt32  eventManagerIndex,
const UaStatus statusCode 
)
pure virtual

Finished transaction to stop monitoring an event item.

Parameters
hTransactionHandle 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.
callbackHandleHandle for the node in the callback. This handle was passed in to the EventManager with the beginStopMonitoring method.
eventManagerIndexan Index of different EventManagers.
statusCodeResult of the StopMonitoring operation.
Returns
Result code of the method call

Implemented in UaSubscription.


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