Results 1 to 8 of 8

Hybrid View

  1. #1
    Hi,
    I simulate a disconnect by shutting down the lightstreamer server and the client gets these logs when this happen (look bellow). I have several table AbstractHandyTableListener public void onUnsubscrAll() but sometimes they happen way later instead of them happening all when this event happen. How can i force this callback to happen right away and not at random time of my code?
    Thanks

    12:49:33 PM com.lightstreamer.ls_client.ServerManager waitEvent
    SEVERE: Error while listening for data in session S023d29eb241e38dfM126T4642597
    12:49:33,279 ERROR ConnectionListener:: onFailure(PushConnException e)
    12:49:33,279 INFO AbstractHandyTableListener:: Unsubscribe all from url http://MY_USER@localhost:8081
    12:49:33,279 INFO AbstractHandyTableListener:: Unsubscribe all from url http://MY_USER@localhost:8081
    12:49:33,279 INFO AbstractHandyTableListener:: Unsubscribe all from url http://MY_USER@localhost:8081

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

    This is obviously not the expected behavior. Notifications of onUnsubscrAll events following a client session termination should all be simultaneous.
    There is no configuration or code to change this behavior.

    What could happen is that the library or the client app gets stuck in some way, leading to delays in handling events.
    Do you think something like this is plausible in the cases you mentioned?

    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 10:52 AM.