public interface Subscription
Represents a subscription to a namespace of DataSource subjects (see
BroadcastSubscription
).
You do not need to implement this interface; instances of Subscription
are supplied
by calling
DataSource.createBroadcastSubscription(com.caplin.datasource.namespace.Namespace, SubscriptionListener)
.
Modifier and Type | Method and Description |
---|---|
SubscriptionListener |
getSubscriptionListener()
Gets the subscription listener for this subscription.
|
void |
unsubscribe()
Unsubscribes this instance of
Subscription from the namespace of DataSource
subjects. |
void unsubscribe()
Unsubscribes this instance of Subscription
from the namespace of DataSource
subjects.
SubscriptionListener getSubscriptionListener()
Gets the subscription listener for this subscription.
Please send bug reports and comments to Caplin support