Interface Subscription
- All Known Subinterfaces:
ActiveSubscription,BroadcastSubscription,TransformerActiveSub,TransformerBroadcastSub
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
Modifier and TypeMethodDescriptionGets the subscription listener for this subscription.voidUnsubscribes this instance ofSubscriptionfrom the namespace of DataSource subjects.
-
Method Details
-
unsubscribe
void unsubscribe()Unsubscribes this instance ofSubscriptionfrom the namespace of DataSource subjects. -
getSubscriptionListener
SubscriptionListener getSubscriptionListener()Gets the subscription listener for this subscription.- Returns:
- The subscription listener.
-