Constructor
new module:ct-sljsadapter /providers /Stream Link Message Service()
- Implements:
Throws:
-
if constructed before the
caplin.streamlink.StreamLink
service has been registered. - Type
-
module:ct-core
/Error
Methods
dispose()
- Implements:
- See:
on Subscription Disposed()
- Implements:
- See:
publish(subject, update Data, listener, hints)
Publishes some data to a record.
Parameters:
Name | Type | Description |
---|---|---|
subject |
String | The subject of the record being published to. |
updateData |
Map | The data to be published to the record. |
listener |
module:ct-services |
The listener that will receive the publish events. |
hints |
Map | Additional parameters. |
publish Session Message()
- Implements:
- See:
subscribe(subject, listener, hints)
Creates a subscription to a record.
Parameters:
Name | Type | Description |
---|---|---|
subject |
String | The subject of the record being subscribed to. |
listener |
module:ct-services |
The listener for the subscription. |
hints |
Map | Additional parameters. |
Returns:
The subscription to the record.