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 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.