Caplin Trader 4.8.0

Class: module:caplin/sljsadapter/providers/StreamLinkConnectionService

module:caplin/sljsadapter/providers/StreamLinkConnectionService

Provides information about the status of a connection to a SLJS streaming server. Note: The StreamlinkConnectionService will inform us about the state of the services that are connected to the streaming service. These are logical names for 1 or more sources of data. If these sources of data have any problems, Streamlink will know when to notify us about the connection status change on the service they provide. It is important to know that this behaviour won't happen if the source of data is feeding Transformer, meaning, we won't get any notification for any status change on services which are provided by Transformer unless Transformer itself has a connection status change.

Constructor

new module:caplin/sljsadapter/providers/StreamLinkConnectionService()

Implements:

Methods

addStatusChangedListener()

Implements:
See:

connect()

Implements:
See:

disconnect()

Implements:
See:

dispose()

Disposes of any listeners and resources that were used by the service.
Implements:

onConnectionStatusChange()

caplin.streamlink.ConnectionListener
See:
  • caplin.streamlink.ConnectionListener#onConnectionStatusChange

onServiceStatusChange()

caplin.streamlink.ConnectionListener
See:
  • caplin.streamlink.ConnectionListener#onServiceStatusChange

onSourceStatusChange()

caplin.streamlink.ConnectionListener
See:
  • caplin.streamlink.ConnectionListener#onSourceStatusChange

onStatisticsChange()

caplin.streamlink.ConnectionListener
See:
  • caplin.streamlink.ConnectionListener#onStatisticsChange

removeStatusChangedListener()

Implements:
See: