Trading API for C
7.0.0.309536
|
Listener interface that should be registered to receive notification of tradechannel creation and closing. More...
Data Fields | |
void(* | channel_closed )(void *context, ctl_provider *provider, ctl_channel *channel) |
Invoked when a tradechannel is closed. More... | |
void(* | channel_created )(void *context, ctl_provider *provider, ctl_channel *channel) |
Invoked when a tradechannel is created. More... | |
Listener interface that should be registered to receive notification of tradechannel creation and closing.
You must implement this interface when writing a Trading Adapter.
void(* ctl_app_listener::channel_closed) (void *context, ctl_provider *provider, ctl_channel *channel) |
Invoked when a tradechannel is closed.
context | - Your context pointer registered with ctl_create_ds_provider() |
provider | - The trading provider. |
channel | - The trade channel that has been closed. |
void(* ctl_app_listener::channel_created) (void *context, ctl_provider *provider, ctl_channel *channel) |
Invoked when a tradechannel is created.
context | - Your context pointer registered with ctl_create_ds_provider() |
provider | - The trading provider. |
channel | - The newly created trade channel. |
You should use this callback to call ctl_channel_set_listener() to receive trade notifications on the new channel.