Package com.caplin.server.auth
Class SubscriptionImpl
java.lang.Object
com.caplin.server.auth.SubscriptionImpl
- All Implemented Interfaces:
Subscription
Allows subscriptions from
SessionManager
to initiated and unsubscribed from.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Initiates the request.void
If the subscription fails it is automatically unsubscribed.
-
Method Details
-
subscribe
public void subscribe()Initiates the request.- Specified by:
subscribe
in interfaceSubscription
-
unsubscribe
public void unsubscribe()If the subscription fails it is automatically unsubscribed.- Specified by:
unsubscribe
in interfaceSubscription
-