StreamLink.NET
7.1.6-7.1.6-3952-ee12172
|
Defines the interface for receiving information about changes in the state of the StreamLink connection, the data services available from the Liberator, and the DataSources that are normally connected to the Liberator. More...
Public Member Functions | |
void | OnConnectionStatusChange (Caplin.StreamLink.IConnectionStatusEvent connectionStatusEvent) |
Invoked when the state of the StreamLink connection changes. Implementing this method is optional. More... | |
void | OnServiceStatusChange (Caplin.StreamLink.IServiceStatusEvent serviceStatusEvent) |
Invoked when the state of a data service available from the Liberator changes. Implementing this method is optional. More... | |
void | OnSourceStatusChange (Caplin.StreamLink.ISourceStatusEvent sourceStatusEvent) |
Invoked when the state of one of the Integration Adapters connected to Liberator changes. More... | |
void | OnStatisticsChange (Caplin.StreamLink.IStatisticsEvent statisticsEvent) |
Invoked when new connection statistics are available. Implementing this method is optional. More... | |
Defines the interface for receiving information about changes in the state of the StreamLink connection, the data services available from the Liberator, and the DataSources that are normally connected to the Liberator.
You should implement this interface if your application needs to take particular actions when such state changes occur.
Your application should not call into StreamLink when the connection status changes; StreamLink manages the connection state and will recover the connection to the Liberator without your application intervening.
A trivial implementation would be as follows :
void Caplin.StreamLink.IConnectionListener.OnConnectionStatusChange | ( | Caplin.StreamLink.IConnectionStatusEvent | connectionStatusEvent | ) |
Invoked when the state of the StreamLink connection changes. Implementing this method is optional.
connectionStatusEvent | The new status of the connection. |
void Caplin.StreamLink.IConnectionListener.OnServiceStatusChange | ( | Caplin.StreamLink.IServiceStatusEvent | serviceStatusEvent | ) |
Invoked when the state of a data service available from the Liberator changes. Implementing this method is optional.
serviceStatusEvent | The new status of the data service. |
void Caplin.StreamLink.IConnectionListener.OnSourceStatusChange | ( | Caplin.StreamLink.ISourceStatusEvent | sourceStatusEvent | ) |
Invoked when the state of one of the Integration Adapters connected to Liberator changes.
** Implementing this method is optional.
sourceStatusEvent | The new status of the Integration Adapter. |
void Caplin.StreamLink.IConnectionListener.OnStatisticsChange | ( | Caplin.StreamLink.IStatisticsEvent | statisticsEvent | ) |
Invoked when new connection statistics are available. Implementing this method is optional.
statisticsEvent | The new connection statistics. |