Class SubscriptionImpl

java.lang.Object
com.caplin.server.auth.SubscriptionImpl
All Implemented Interfaces:
Subscription

public class SubscriptionImpl extends Object implements Subscription
Allows subscriptions from SessionManager to initiated and unsubscribed from.
  • Method Details

    • subscribe

      public void subscribe()
      Initiates the request.
      Specified by:
      subscribe in interface Subscription
    • unsubscribe

      public void unsubscribe()
      If the subscription fails it is automatically unsubscribed.
      Specified by:
      unsubscribe in interface Subscription