Uses of Class
com.lightstreamer.client.mpn.MpnSubscription
Packages that use MpnSubscription
-
Uses of MpnSubscription in com.lightstreamer.client
Methods in com.lightstreamer.client that return MpnSubscriptionModifier and TypeMethodDescriptionLightstreamerClient.findMpnSubscription
(String subscriptionId) Inquiry method that returns the MpnSubscription with the specified subscription ID, or null if not found.
The object returned by this method can be an object created by the user, via MpnSubscription constructors, or an object created by the client, to represent pre-existing MPN subscriptions.
Note that objects returned by this method may be substituted at any time with equivalent ones: do not rely on pointer matching, instead rely on thegetSubscriptionId()
value to verify the equivalence of two MpnSubscription objects.Methods in com.lightstreamer.client that return types with arguments of type MpnSubscriptionModifier and TypeMethodDescriptionLightstreamerClient.getMpnSubscriptions
(String filter) Inquiry method that returns a collection of the existing MPN subscription with a specified status.
Can return both objects created by the user, viaMpnSubscription
constructors, and objects created by the client, to represent pre-existing MPN subscriptions.
Note that objects in the collection may be substituted at any time with equivalent ones: do not rely on pointer matching, instead rely on thegetSubscriptionId()
value to verify the equivalence of two MpnSubscription objects.Methods in com.lightstreamer.client with parameters of type MpnSubscriptionModifier and TypeMethodDescriptionvoid
LightstreamerClient.subscribe
(MpnSubscription subscription, boolean coalescing) Operation method that subscribes an MpnSubscription on server's MPN Module.
This operation adds theMpnSubscription
to the list of "active" subscriptions.void
LightstreamerClient.unsubscribe
(MpnSubscription subscription) Operation method that unsubscribes an MpnSubscription from the server's MPN Module.
This operation removes the MpnSubscription from the list of "active" subscriptions. -
Uses of MpnSubscription in com.lightstreamer.client.mpn
Constructors in com.lightstreamer.client.mpn with parameters of type MpnSubscriptionModifierConstructorDescriptionMpnSubscription
(MpnSubscription copyFrom) Creates an MPNSubscription object copying all properties from the specified MPN subscription.