unsubscribe method
- Subscription sub
Operation method that removes a Subscription that is currently in the "active" state.
By bringing back a Subscription to the "inactive" state, the unsubscription from all its items is requested to Lightstreamer Server.
Lifecycle Subscription can be unsubscribed from at any time. Once done the Subscription immediately
exits the "active" state.
Note that forwarding of the unsubscription to the server is made in a separate thread.
The unsubscription will be notified through a SubscriptionListener.onUnsubscription event.
sub
An "active" Subscription object that was activated by this LightstreamerClient instance.
Implementation
external void unsubscribe(Subscription sub);