Constructor
new module:caplin/sljsadapter/providers/StreamLinkMessageService()
- Implements:
Throws:
-
if constructed before the
caplin.streamlink.StreamLink
service has been registered.
Methods
-
dispose()
-
onSubscriptionDisposed()
-
publish(subject, updateData, 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:caplin/services/messaging/PublishListener The listener that will receive the publish events. hints
Map Additional parameters. -
publishSessionMessage()
-
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:caplin/services/messaging/SubscriptionListener The listener for the subscription. hints
Map Additional parameters. Returns:
The subscription to the record.