Results 1 to 8 of 8

Hybrid View

  1. #1
    Hi Giuseppe, yes its plausible that the client app gets stuck in some way delaying the handling of those events.
    What can happen if in my client if onUnsubscrAll events are not called yet and I connect to another source, then the callbacks are received later:
    1-Will I receive values from the old source?
    2-Will the new source still be connected properly?
    3-If after I received all those callbacks, will we get all the new values from the new source normally?
    Thanks

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi baalbaki,

    It is not very clear to me when you say "if in my client if onUnsubscrAll events are not called yet and I connect to another source":
    did you mean that your client received the onFailure event con the connection but not the onUnsubscrAll events?
    Or the client does not receive the onFailure event and nor the onUnsubscrAll events.
    Indeed in this latter case it could be that the client library does not detect the failure of the connection with the server and would therefore be waiting for the timeouts.

    Specifically for your questions:

    1. yes there might be the possibility to receive some further onUpdate call.
    2. - 3. About the new connection you should rely on the onSessionStarted event after which you can be confident of a fully active client session with the server (regardless of the situation of any old sessions.).

    That said, I would like to ask if you have the chance to upgrade the client library to the latest available version.
    I am aware that the API has changed radically, and therefore would require some effort in updating the client code; but please note that the version in use is now very old and out of support.
    You will also benefit from new features (as the websocket transport), enhancements and bug fixes introduced in the years.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 15
    Last Post: April 29th, 2022, 10:04 PM
  2. LS Flex Client is stalled on restart of LS server
    By pratik in forum Client SDKs
    Replies: 4
    Last Post: June 26th, 2015, 08:56 AM
  3. Connection stalled for too long
    By Matan Poreh in forum Client SDKs
    Replies: 1
    Last Post: July 11th, 2013, 01:35 PM
  4. Replies: 2
    Last Post: October 17th, 2008, 09:22 AM
  5. LSEngine is getting stalled
    By dkumarbabu in forum Client SDKs
    Replies: 2
    Last Post: August 6th, 2008, 09:32 PM

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 05:27 AM.