public interface ChannelListener
Interface for receiving updates on the channel from the Liberator.
Modifier and Type | Method and Description |
---|---|
void |
onChannelData(Channel channel,
RecordType1Event evt)
Called when an update is received.
|
void |
onChannelError(Channel channel,
SubscriptionErrorEvent evt)
Called when there is an error on the channel.
|
void |
onChannelStatus(Channel channel,
SubscriptionStatusEvent evt)
Called when there is a change in the status for the channel.
|
void onChannelData(Channel channel, RecordType1Event evt)
Called when an update is received.
channel
- The channel for which the update occurred.evt
- The record update.void onChannelStatus(Channel channel, SubscriptionStatusEvent evt)
Called when there is a change in the status for the channel.
channel
- The channel for which the update occurred.evt
- The status event.void onChannelError(Channel channel, SubscriptionErrorEvent evt)
Called when there is an error on the channel.
This callback being invoked is a final state for the channel and no further callbacks will be received for it.
channel
- The channel for which the error occurred.evt
- The error event.Please send bug reports and comments to Caplin support