EventManagerCallback Class Reference
[Core Module Interfaces]

#include <eventmanager.h>

Inheritance diagram for EventManagerCallback:

List of all members.


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)=0
virtual UaStatus finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_Double revisedSamplingInterval, const UaStatus &statusCode)=0
virtual UaStatus finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, const UaStatus &statusCode)=0

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::finishStartMonitoring ( OpcUa_UInt32  hTransaction,
OpcUa_UInt32  callbackHandle,
OpcUa_UInt32  eventManagerIndex,
OpcUa_UInt32  hEventItem,
OpcUa_Double  revisedSamplingInterval,
const UaStatus statusCode 
) [pure virtual]

Finished transaction to start monitoring an event item.

Parameters:
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.
eventManagerIndex an Index of different EventManagers.
hEventItem an EventItem used to fire an Event.
revisedSamplingInterval The corresponding revised sampling interval for the requested sampling interval in beginStartMonitoring.
statusCode Result of the StartMonitoring operation.
Returns:
Error code

Implemented in UaSubscription.

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

Finished transaction to modify monitoring an event item.

Parameters:
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.
eventManagerIndex an Index of different EventManagers.
revisedSamplingInterval The corresponding revised sampling interval for the requested sampling interval in beginModifyMonitoring.
statusCode Result of the ModifyMonitoring operation.
Returns:
Error code

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:
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.
eventManagerIndex an Index of different EventManagers.
statusCode Result of the StopMonitoring operation.
Returns:
Error code

Implemented in UaSubscription.


The documentation for this class was generated from the following file:
  • src/uaserver/uaservercpp/coremodule/eventmanager.h