-
June 24th, 2015, 11:01 AM
#1
Network disconnected at client side
Hi,
We are using flex client with Lightstreamer, we need to handle the condition at client side, that if the network is disconnected, our flex client should give alert to user that network is down. Any clue how we can handle network disconnect at client side.
Regards,
m. hasan
-
June 25th, 2015, 09:40 AM
#2
Hi m. hasan,
In order to handle the network disconnect at client side you could leverage the StatusChangeEvent.
By setting a custom handler it is possible to perform actions related to connection and disconnection occurrences.
Please you could also refer to our example "Lightstreamer - Stock-List Demos - Flex Clients" and in particular to the implementation of this method.
Alternatively, if your application runs in a browser, you could rely on navigator.onLine property.
Regards,
Giuseppe
Similar Threads
-
By vpurohit in forum Client SDKs
Replies: 3
Last Post: February 11th, 2014, 08:43 AM
-
By deltron0 in forum Client SDKs
Replies: 6
Last Post: September 15th, 2010, 08:33 AM
-
By ivailo in forum Client SDKs
Replies: 2
Last Post: December 1st, 2009, 12:07 PM
-
By pacesie in forum General
Replies: 1
Last Post: March 26th, 2008, 09:01 AM
-
By indrajit in forum Adapter SDKs
Replies: 1
Last Post: February 22nd, 2008, 08:39 AM
Tags for this Thread
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 06:57 AM.
Bookmarks