isSubscribed method
Inquiry method that checks if the Subscription is currently subscribed to through the server or not.
This flag is switched to true by server sent Subscription events, and back to false in case of client disconnection, LightstreamerClient.unsubscribe calls and server sent unsubscription events.
Lifecycle This method can be called at any time.
Returns true/false if the Subscription is subscribed to through the server or not.
Implementation
bool isSubscribed() {
return _subscribed;
}