The DataSubscriptionListener
is the interface for listener objects which should
be notified by a caplin.core.subscriber.DataSubscriber whenever a data update
is received from the data source.
Attributes | Name and Description |
---|---|
|
caplin.core.subscriber.DataSubscriptionListener()
The |
Attributes | Name and Description |
---|---|
|
void
available(String sSubject)
Gives the caplin.core.subscriber.DataSubscriptionListener the ability to be notified by a caplin.core.subscriber.DataSubscriber when data to which it has subscribed has become available. |
|
void
dataUpdated(Map mData)
Gives the caplin.core.subscriber.DataSubscriptionListener the ability to be notified by a caplin.core.subscriber.DataSubscriber when an update has been received for the data to which it has subscribed. |
|
void
unavailable(String sSubject, String sReason)
Gives the caplin.core.subscriber.DataSubscriptionListener the ability to be notified by a caplin.core.subscriber.DataSubscriber when data to which it has subscribed is no longer available. |
►
caplin.core.subscriber.DataSubscriptionListener()
The DataSubscriptionListener
interface — this should never be constructed.
►
void
available(String sSubject)
Gives the caplin.core.subscriber.DataSubscriptionListener the ability to be notified by a caplin.core.subscriber.DataSubscriber when data to which it has subscribed has become available.
String | sSubject | the subject of data which has become available on the data source. |
►
void
dataUpdated(Map mData)
Gives the caplin.core.subscriber.DataSubscriptionListener the ability to be notified by a caplin.core.subscriber.DataSubscriber when an update has been received for the data to which it has subscribed.
Map | mData | a map representing the data update. |