Apama Capital Markets Foundation  9.12.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Session Callbacks API

Functions

AP_SESSION_API void AP_SESSION_SessionStartSuccess (AP_SESSION_Interface *smi, AP_int64 sourceId, AP_TimestampSet *tss)
 
AP_SESSION_API void AP_SESSION_SessionStartError (AP_SESSION_Interface *smi, AP_int64 sourceId, const char *errMsg, AP_TimestampSet *tss)
 
AP_SESSION_API void AP_SESSION_SessionStopSuccess (AP_SESSION_Interface *smi, AP_int64 sourceId, AP_TimestampSet *tss)
 
AP_SESSION_API void AP_SESSION_SessionStopError (AP_SESSION_Interface *smi, AP_int64 sourceId, const char *errMsg, AP_TimestampSet *tss)
 
AP_SESSION_API void AP_SESSION_SessionReconfigureSuccess (AP_SESSION_Interface *smi, AP_int64 sourceId, AP_TimestampSet *tss)
 
AP_SESSION_API void AP_SESSION_SessionReconfigureError (AP_SESSION_Interface *smi, AP_int64 sourceId, const char *errMsg, AP_TimestampSet *tss)
 

Detailed Description

Session Callbacks API

Function Documentation

AP_SESSION_API void AP_SESSION_SessionReconfigureError ( AP_SESSION_Interface smi,
AP_int64  sourceId,
const char *  errMsg,
AP_TimestampSet *  tss 
)

Callback when a Session fails to reconfigure in response to AP_SESSION_AdapterInterface::onSessionReconfigure().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that failed to reconfigure.
errMsgAn error message explaining why the session failed to reconfigure.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionReconfigure
AP_SESSION_API void AP_SESSION_SessionReconfigureSuccess ( AP_SESSION_Interface smi,
AP_int64  sourceId,
AP_TimestampSet *  tss 
)

Callback when a Session is successfully reconfigured in response to AP_SESSION_AdapterInterface::onSessionReconfigure().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that was reconfigured.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionReconfigure
AP_SESSION_API void AP_SESSION_SessionStartError ( AP_SESSION_Interface smi,
AP_int64  sourceId,
const char *  errMsg,
AP_TimestampSet *  tss 
)

Callback when a Session fails to start in response to AP_SESSION_AdapterInterface::onSessionStart().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that failed to start.
errMsgAn error message explaining why the session failed to start.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionStart
AP_SESSION_API void AP_SESSION_SessionStartSuccess ( AP_SESSION_Interface smi,
AP_int64  sourceId,
AP_TimestampSet *  tss 
)

Callback when a Session is successfully started in response to AP_SESSION_AdapterInterface::onSessionStart().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that was started.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionStart
AP_SESSION_API void AP_SESSION_SessionStopError ( AP_SESSION_Interface smi,
AP_int64  sourceId,
const char *  errMsg,
AP_TimestampSet *  tss 
)

Callback when a Session fails to stop in response to AP_SESSION_AdapterInterface::onSessionStop().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that failed to stop.
errMsgAn error message explaining why the session failed to stop.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionStop
AP_SESSION_API void AP_SESSION_SessionStopSuccess ( AP_SESSION_Interface smi,
AP_int64  sourceId,
AP_TimestampSet *  tss 
)

Callback when a Session is successfully stopped in response to AP_SESSION_AdapterInterface::onSessionStop().

Parameters
smiThe AP_SESSION_Interface to use.
sourceIdThe Id of the session that was stopped.
tssThe timestamp set of the event.
See also
AP_SESSION_AdapterInterface::onSessionStop