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 Type
    Method
    Description
    Gets the subscription listener for this subscription.
    void
    Unsubscribes this instance of Subscription from the namespace of DataSource subjects.
  • Method Details

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