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 a onSourceStatusChange callback to a ConnectionListener.

    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 ServiceStatusEvents, rather than examining SourceStatusEvents.

    • 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.