Results 1 to 7 of 7

Hybrid View

  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Such timeouts are used internally to decide when to perform new attempts, but as said in my previous message it is correct that the client remains in the CONNECTING status.

    If you start the server you'll notice that accordingly to the set timeouts the client will reconnect correctly to the server.

    What I meant is that you could set your own timeout to fire a callback after a while and then check if the client is connected or is still CONNECTING. You can set a timeout using the Timer class or the setTimeout method of flex.

    If you'd like to know when attempts are performed you can enable the client logging ( see http://www.lightstreamer.com/docs/cl...ge-detail.html ) and then check the logs.

  2. #2
    Member
    Join Date
    Dec 2008
    Location
    Bangalore
    Posts
    20
    Oh, ok.. I understand what you mean.
    But, just consider this as a feature request.. It will be nice if I can get a handle when LSClient tries to reconnect or when suddenly server goes down. I would like to display the status on the UI saying disconnected, connecting in these many seconds..

    Thanks a lot for making me understand this subject.

  3. #3
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    We'll take your request into consideration for a future release.

    Note that if the server goes down while you're already connected you'll notice a status change through the status callback.

  4. #4
    Member
    Join Date
    Dec 2008
    Location
    Bangalore
    Posts
    20
    Yup, I did observe that. Will use that to display disconnected status :-)

 

 

Similar Threads

  1. Replies: 3
    Last Post: July 29th, 2011, 08:56 AM
  2. Replies: 1
    Last Post: October 21st, 2009, 10:19 AM
  3. Replies: 1
    Last Post: September 18th, 2009, 09:13 AM
  4. Replies: 1
    Last Post: November 5th, 2007, 01:36 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 07:52 PM.