-
December 15th, 2008, 12:38 PM
#1
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.
-
December 15th, 2008, 01:23 PM
#2
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.
-
December 15th, 2008, 01:26 PM
#3
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.
-
December 15th, 2008, 01:27 PM
#4
Yup, I did observe that. Will use that to display disconnected status :-)
Similar Threads
-
By ulises.juarez in forum General
Replies: 3
Last Post: July 29th, 2011, 08:56 AM
-
By lizsedley in forum Client SDKs
Replies: 1
Last Post: October 21st, 2009, 10:19 AM
-
By jondcruz in forum General
Replies: 1
Last Post: September 18th, 2009, 09:13 AM
-
By gerald.logor in forum Client SDKs
Replies: 1
Last Post: November 5th, 2007, 01:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:52 PM.
Bookmarks