Class
caplin.sl4badapter.providers

SL4BMessageService

Provides access to publish/subscribe asynchronous messaging services.

Constructor Summary

Attributes Name and Description
caplin.sl4badapter.providers.SL4BMessageService()

Method Summary

Attributes Name and Description
void publish(String sSubject, Map mUpdateData, caplin.services.messaging.PublishListener oListener, Map mHints)

Publishes some data to a record.

void publishSessionMessage( sSubject, mUpdateData, oListener, mHints)

caplin.sljsadapter.providers.StreamLinkSubscription subscribe(String sSubject, caplin.services.messaging.SubscriptionListener oListener, Map mHints)

Creates a subscription to a record.

Constructor Detail

caplin.sl4badapter.providers.SL4BMessageService()

Method Detail

void publish(String sSubject, Map mUpdateData, caplin.services.messaging.PublishListener oListener, Map mHints)

Publishes some data to a record.

Parameters
String sSubject The subject of the record being published to.
Map mUpdateData The data to be published to the record.
caplin.services.messaging.PublishListener oListener The listener that will receive the publish events.
Map mHints Additional parameters.

void publishSessionMessage( sSubject, mUpdateData, oListener, mHints)

Parameters
sSubject
mUpdateData
oListener
mHints
See
caplin.services.messaging.MessageService#publishSessionMessage

caplin.sljsadapter.providers.StreamLinkSubscription subscribe(String sSubject, caplin.services.messaging.SubscriptionListener oListener, Map mHints)

Creates a subscription to a record.

Parameters
String sSubject The subject of the record being subscribed to.
caplin.services.messaging.SubscriptionListener oListener The listener for the subscription.
Map mHints Additional parameters.
Returns
The subscription to the record.