Uses of Class
com.lightstreamer.client.Subscription
-
Uses of Subscription in com.lightstreamer.client
Modifier and TypeMethodDescriptionLightstreamerClient.getSubscriptions()
Inquiry method that returns a list containing all the Subscription instances that are currently "active" on this LightstreamerClient.Modifier 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
ModifierConstructorDescriptionMpnSubscription
(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.