StreamLink.NET
7.1.11-7.1.11-4113-e3f20bc
|
Adapter class implementing the IConnectionListener methods More...
Public Member Functions | |
virtual void | OnConnectionStatusChange (IConnectionStatusEvent connectionStatusEvent) |
Override if you want to receive the status change of the connection. More... | |
virtual void | OnServiceStatusChange (IServiceStatusEvent serviceStatusEvent) |
Override if you want to receive the status change of the data service. More... | |
virtual void | OnSourceStatusChange (ISourceStatusEvent sourceStatusEvent) |
Override if you want to receive the status change of the Integration Adapter. More... | |
virtual void | OnStatisticsChange (IStatisticsEvent statisticsEvent) |
Override if you want to receive the status change in the connection statistics. More... | |
Public Member Functions inherited from Caplin.StreamLink.IConnectionListener | |
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... | |
Adapter class implementing the IConnectionListener methods
This is a helper class to reduce the code needed to implement the ConnectionListener interface.
Simply extend this class and override the required methods rather than implement the full IConnectionListener interface.
A trivial implementation would be as follows :
|
inlinevirtual |
Override if you want to receive the status change of the connection.
connectionStatusEvent | The new status of the connection. |
|
inlinevirtual |
Override if you want to receive the status change of the data service.
serviceStatusEvent | The new status of the data service. |
|
inlinevirtual |
Override if you want to receive the status change of the Integration Adapter.
sourceStatusEvent | The new status of the Integration Adapter. |
|
inlinevirtual |
Override if you want to receive the status change in the connection statistics.
statisticsEvent | The new connection statistics. |