SL4BObjectSubscriber
class provides an SL4B transport implementation of the
{@link caplin.core.subscriber.DataSubscriber DataSubscriber} interface.
The subscription to the data source is started once a listener is set.
Attributes | Name and Description |
---|---|
|
caplin.sl4badapter.providers.SL4BDataSubscriber(String sSubject)
Constructs an instance of |
Attributes | Name and Description |
---|---|
|
void
getSubscribedSubject()
Returns the SL4B subject of the active subscription if the subscription is not stopped. |
|
boolean
isAvailable()
Returns true if the object is available. |
|
void
setListener( oListener)
This method sets a new listener on the SL4B data subscription. |
►
caplin.sl4badapter.providers.SL4BDataSubscriber(String sSubject)
Constructs an instance of caplin.sl4badapter.providers.SL4BDataSubscriber
.
String | sSubject | the data subject to which to subscribe. Required; non-empty. |
►
void
getSubscribedSubject()
Returns the SL4B subject of the active subscription if the subscription is not stopped.
►
boolean
isAvailable()
Returns true if the object is available. Returns false if an SL4B objectStatus STALE/REMOVED/LIMITED or objectDeleted/NotFound/ReadDenied/Unavailable/WriteDenied callback is received.
►
void
setListener( oListener)
This method sets a new listener on the SL4B data subscription. The subscription is started the first time that setListener is called.
oListener |