Uses of Class
com.lightstreamer.client.Subscription
Packages that use Subscription
-
Uses of Subscription in com.lightstreamer.client
Methods in com.lightstreamer.client that return types with arguments of type SubscriptionModifier and TypeMethodDescriptionLightstreamerClient.getSubscriptions()
Inquiry method that returns a list containing all the Subscription instances that are currently "active" on this LightstreamerClient.Methods in com.lightstreamer.client with parameters of type SubscriptionModifier and TypeMethodDescriptionvoid
LightstreamerClient.subscribe
(Subscription subscription) Operation method that adds a Subscription to the list of "active" Subscriptions.void
LightstreamerClient.unsubscribe
(Subscription subscription) Operation method that removes a Subscription that is currently in the "active" state. -
Uses of Subscription in com.lightstreamer.client.mpn
Constructors in com.lightstreamer.client.mpn with parameters of type SubscriptionModifierConstructorDescriptionMpnSubscription
(Subscription copyFrom) Creates an MpnSubscription object copying subscription mode, items, fields and data adapter from the specified real-time subscription.
The object can be supplied toLightstreamerClient.subscribe(MpnSubscription, boolean)
in order to bring the MPN subscription to "active" state.
Note that all of the methods used to describe the subscription to the server, exceptMpnSubscription.setTriggerExpression(String)
andMpnSubscription.setNotificationFormat(String)
, can only be called while the instance is in the "inactive" state.