#include <eventmanager.h>
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 |
virtual UaStatus | finishModifyMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, OpcUa_Double revisedSamplingInterval, const UaStatus &statusCode, OpcUa_EventFilterResult *pEventFilterResult)=0 |
virtual UaStatus | finishStopMonitoring (OpcUa_UInt32 hTransaction, OpcUa_UInt32 callbackHandle, OpcUa_UInt32 eventManagerIndex, const UaStatus &statusCode)=0 |
The corresponding callback interface for the EventManager. This callback interface provides all corresponding callback methods for the begin methods in the EventManager interface.
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.
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. |
pEventFilterResult | Detailed result for the event filter. Can be NULL if no error occoured. The SDK detaches the result content. |
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.
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. |
pEventFilterResult | Detailed result for the event filter. Can be NULL if no error occoured. The SDK detaches the result content. |
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.
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. |
Implemented in UaSubscription.