Apama Capital Markets Foundation  10.11.0.0
Market Data Callbacks API

Functions

AP_MDM_API void AP_MDM_ConnectSuccess (AP_MDM_Interface *md, const char *subKey, AP_TimestampSet *tss)
 
AP_MDM_API void AP_MDM_ConnectFailed (AP_MDM_Interface *md, const char *subKey, const char *description, AP_TimestampSet *tss)
 
AP_MDM_API void AP_MDM_DisconnectSuccess (AP_MDM_Interface *md, const char *subKey, AP_TimestampSet *tss)
 
AP_MDM_API void AP_MDM_DisconnectFailed (AP_MDM_Interface *md, const char *subKey, const char *description, AP_TimestampSet *tss)
 

Detailed Description

Market Data Callbacks API

Function Documentation

◆ AP_MDM_ConnectFailed()

AP_MDM_API void AP_MDM_ConnectFailed ( AP_MDM_Interface md,
const char *  subKey,
const char *  description,
AP_TimestampSet *  tss 
)

Callback when a Connection fails in response to AP_MDM_AdapterInterface::connect().

Parameters
mdThe AP_MDM_Interface to use.
subKeyThe unique subscription key for this connection.
descriptionAn error message explaining why the connection failed.
tssThe timestamp set of the event.
See also
AP_MDM_AdapterInterface::connect

◆ AP_MDM_ConnectSuccess()

AP_MDM_API void AP_MDM_ConnectSuccess ( AP_MDM_Interface md,
const char *  subKey,
AP_TimestampSet *  tss 
)

Callback when a Connection is successful in response to AP_MDM_AdapterInterface::connect().

Parameters
mdThe AP_MDM_Interface to use.
subKeyThe unique subscription key for this connection.
tssThe timestamp set of the event.
See also
AP_MDM_AdapterInterface::connect

◆ AP_MDM_DisconnectFailed()

AP_MDM_API void AP_MDM_DisconnectFailed ( AP_MDM_Interface md,
const char *  subKey,
const char *  description,
AP_TimestampSet *  tss 
)

Callback when a Disconnect fails in response to AP_MDM_AdapterInterface::disconnect().

Parameters
mdThe AP_MDM_Interface to use.
subKeyThe unique subscription key for this disconnection.
descriptionAn error message explaining why the disconnection failed.
tssThe timestamp set of the event.
See also
AP_MDM_AdapterInterface::disconnect

◆ AP_MDM_DisconnectSuccess()

AP_MDM_API void AP_MDM_DisconnectSuccess ( AP_MDM_Interface md,
const char *  subKey,
AP_TimestampSet *  tss 
)

Callback when a Disconnect is successful in response to AP_MDM_AdapterInterface::disconnect().

Parameters
mdThe AP_MDM_Interface to use.
subKeyThe unique subscription key for this disconnection.
tssThe timestamp set of the event.
See also
AP_MDM_AdapterInterface::disconnect