Interface Subscription

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable

    public interface Subscription
    extends java.io.Closeable
    A SubscriptionHandler represents a subscription to an asynchronous event channel.
    Since:
    1.5
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Unsubscribes this SubscriptionHandler from receiving messages sent to this channel.
      java.lang.Object getReturnValue()
      Get the return value associated with establishing this subscription.
      boolean isUnsubscribed()
      Indicates whether this Subscription is currently unsubscribed.