SL4BSubscription
class provides an SL4B transport implementation of the
caplin.services.messaging.Subscription interface.
Attributes | Name and Description |
---|---|
|
caplin.sl4badapter.providers.SL4BSubscription(String sSubject, oListener, mOptions)
Constructs an instance of |
Attributes | Name and Description |
---|---|
|
void
dispose()
Permanently stops the subscription from receiving new updates to the subject. |
|
String
getSubject()
Returns the subject that this subscription is subscribed to. |
|
Boolean
isPaused()
Returns whether the subscription is currently paused or not. |
|
void
pause()
Temporarily disables the subscription from receiving new updates to the subject. |
|
void
resume()
Re-enables the subscription, allowing it to receive any new updates to the subject. |
►
caplin.sl4badapter.providers.SL4BSubscription(String sSubject, oListener, mOptions)
Constructs an instance of caplin.sl4badapter.providers.SL4BSubscription
.
String | sSubject | the data subject to which to subscribe. Required; non-empty. |
oListener | ||
mOptions |
►
void
dispose()
Permanently stops the subscription from receiving new updates to the subject. Should be called when there is no further need for this subscription.
►
String
getSubject()
Returns the subject that this subscription is subscribed to.
►
Boolean
isPaused()
Returns whether the subscription is currently paused or not.
►
void
pause()
Temporarily disables the subscription from receiving new updates to the subject.
►
void
resume()
Re-enables the subscription, allowing it to receive any new updates to the subject.