-
August 18th, 2013, 11:35 AM
#1
isActive vs. isSubscribed
What is different between them?
Is there case that a subscription is subscribed but not active?
Thanks.
-
August 19th, 2013, 09:37 AM
#2
Hi,
active means that the LightstreamerClient instance "knows" about the Subscription and will subscribe it to the server as soon as it can. The Subscription becomes active when you pass it to the LightstreamerClient using the subscribe method and is back to an inactive status if you call the unsubscribe method for it.
Subscribed means that the LightstreamerClient has sent the subscription to the Lightstreamer server and got an ack from it. If a LightstreamerClient loses its connectio to the server the Subscription loses its subscribed status but will still be active until you call the unsubscribe method.
A subscribed Subscription is always active.
HTH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:16 PM.
Bookmarks