Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2010
    Location
    Madurai
    Posts
    10

    Handling disconnection of lightstreamer.

    Can you please suggest how to handle disconnection of LightStreamer in browser? When Lightstreamer was closed, I got the LightStreamer status as ''stalled" and then it will goes to the status "Connecting". And also when LS was not get started, I want to intimate that. Shall i use timer for this case? Or any other function is available to check that?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Lightstreamer Server does not try to notify all the connected clients about its own closure, hence the clients will just find out later that either the current connection has been interrupted or that the next connection attempt fails.
    The web client library always assumes that the Server unavailability is temporary, so it tries to reconnect.

    It is not clear to me whether or not, in your case, it is possible that the Server gets closed and is not replaced by a new instance. When you say "LS was not get started", do you mean that issues may occur during startup or that you may deliberately not restart the Server (or something else, of course)?

  3. #3
    Member
    Join Date
    Jun 2010
    Location
    Madurai
    Posts
    10
    When you say "LS was not get started", do you mean that issues may occur during startup or that you may deliberately not restart the Server (or something else, of course)?
    It was the another situation, Whenever LS not run on the server, If the users try to login means, intimate the users with alert message. How to resolve this?

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    I confirm that the web client library makes no assumption about the unavailability of the Server and just keeps retrying to connect.
    At application level, you can leverage onStatusChange or getStatus and check how long the Engine remains in "CONNECTING" state with your own timer;
    if needed, you can switch to "DISCONNECTED" state, then issue an alert.

  5. #5

    Flex Client disconnection handling in browser

    Hi,

    To achieve net disconnection alert, where we can implement onStatusChange and getStatus method at client level in Flex client. any hint or example would be of great help.

  6. #6
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    543
    Hi mhasan,

    Please could you refer for your question to my reply in this thread?

    Thank you,
    Giuseppe

 

 

Similar Threads

  1. disconnection problems
    By magnum_rg in forum Client APIs
    Replies: 5
    Last Post: August 12th, 2011, 10:43 AM
  2. Have problem with handling event in extjs
    By phancongphuoc in forum Client APIs
    Replies: 1
    Last Post: December 20th, 2010, 09:49 AM
  3. Client Server Disconnection Notification
    By vaduganathan in forum Adapter APIs
    Replies: 1
    Last Post: May 28th, 2010, 10:34 AM
  4. Track the Server disconnection
    By vaduganathan in forum Client APIs
    Replies: 1
    Last Post: May 12th, 2010, 10:26 AM
  5. Security patterns: Forcing disconnection
    By churrusco in forum General
    Replies: 15
    Last Post: April 20th, 2010, 09:46 AM

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 07:54 PM.