Package com.caplin.streamlink
Interface SourceStatusEvent
-
public interface SourceStatusEvent
Provides information about the change in status of an Integration Adapter to which StreamLink is connected via the Liberator.
The
SourceStatusEvent
will be provided on aonSourceStatusChange
callback to aConnectionListener
.Within Liberator, data is considered to be available through a particular data service rather than from the underlying Integration Adapters. Therefore, if your application needs to know about the availability of data, it should examine the status of the data service by looking at
ServiceStatusEvent
s, rather than examiningSourceStatusEvent
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getSourceName()
Returns the name of the Integration Adapter that has changed state.SourceStatus
getSourceStatus()
Returns the new status of an Integration Adapter.
-
-
-
Method Detail
-
getSourceName
java.lang.String getSourceName()
Returns the name of the Integration Adapter that has changed state.
- Returns:
- The Integration Adapter name.
-
getSourceStatus
SourceStatus getSourceStatus()
Returns the new status of an Integration Adapter.
- Returns:
- The Integration Adapter status.
-
-