Interface Subscription
-
- All Known Subinterfaces:
ActiveSubscription
,BroadcastSubscription
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 the appropriate method on the Caplin API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionListener
getSubscriptionListener()
Gets the subscription listener for this subscription.void
unsubscribe()
Unsubscribes this instance ofSubscription
from the namespace of DataSource subjects.
-
-
-
Method Detail
-
unsubscribe
void unsubscribe()
Unsubscribes this instance of
Subscription
from the namespace of DataSource subjects.
-
getSubscriptionListener
SubscriptionListener getSubscriptionListener()
Gets the subscription listener for this subscription.
- Returns:
- The subscription listener.
-
-