Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jul 2013
    Posts
    39

    isActive vs. isSubscribed

    What is different between them?

    Is there case that a subscription is subscribed but not active?

    Thanks.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 02:58 AM.