Provides information about the status of a connection to a streaming server.
Members
(static) STATUS _DOWN
- Deprecated:
- A constant indicating that this connection is down.
(static) STATUS _ERROR
- Deprecated:
- A constant indicating that there is a problem with this connection. Example issues are login failures or session ejections.
(static) STATUS _OK
- Deprecated:
- A constant indicating that all sources of data are up and this connection is ok.
(static) STATUS _PARTIAL
- Deprecated:
- A constant indicating that not all sources of data are up and this connection is not completely ok. Some data may be missing or stale.
Methods
add Status Changed Listener(Connection Service Listener
, Tells)
Adds a ConnectionServiceListener
.
Parameters:
Name | Type | Description |
---|---|---|
|
oListener | implementation that will be called back when a status change occurs. |
Tells |
bNotify |
the |
connect()
Connects to the connection service, or do nothing if already connected.
disconnect()
Disconnects from the connection service or do nothing if already disconnected.
dispose()
Disposes of any listeners and resources that were used by the service.
remove Status Changed Listener(oLitener)
Removes the previously registered ConnectionServiceListener
.
Parameters:
Name | Type | Description |
---|---|---|
oLitener |
oListener | The listener to remove. |