StreamLink.NET  8.0.1-8.0.1-1132-88354a9
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Caplin.StreamLink.IJsonChannelListener Interface Reference

Interface for receiving updates on the JSON channel from the Liberator. More...

Public Member Functions

void OnChannelData (Caplin.StreamLink.IJsonChannel channel, Caplin.StreamLink.IJsonEvent evt)
 Called when an update is received. More...
 
void OnChannelError (Caplin.StreamLink.IJsonChannel channel, Caplin.StreamLink.ISubscriptionErrorEvent evt)
 Called when there is an error on the channel. More...
 
void OnChannelStatus (Caplin.StreamLink.IJsonChannel channel, Caplin.StreamLink.ISubscriptionStatusEvent evt)
 Called when there is a change in the status for the channel. More...
 

Detailed Description

Interface for receiving updates on the JSON channel from the Liberator.

Member Function Documentation

void Caplin.StreamLink.IJsonChannelListener.OnChannelData ( Caplin.StreamLink.IJsonChannel  channel,
Caplin.StreamLink.IJsonEvent  evt 
)

Called when an update is received.

  • Parameters
    channelThe channel for which the update occurred.
  • Parameters
    evtThe json update.
void Caplin.StreamLink.IJsonChannelListener.OnChannelError ( Caplin.StreamLink.IJsonChannel  channel,
Caplin.StreamLink.ISubscriptionErrorEvent  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.
  • Parameters
    channelThe channel for which the error occurred.
  • Parameters
    evtThe error event.
void Caplin.StreamLink.IJsonChannelListener.OnChannelStatus ( Caplin.StreamLink.IJsonChannel  channel,
Caplin.StreamLink.ISubscriptionStatusEvent  evt 
)

Called when there is a change in the status for the channel.

  • Parameters
    channelThe channel for which the update occurred.
  • Parameters
    evtThe status event.

Generated on Mon Feb 26 2024 19:57:57 for StreamLink.NET