Search found 3 matches
- 01 Jun 2009, 16:16
- Forum: Java2SE / Android Client API
- Topic: Exception on reconnect attempt
- Replies: 5
- Views: 19536
Thanks patso, I'm using the new Mina API now, I can catch the IOExceptions on connect fails now, however i've got a new uncaught exception when i kill the smartfox server (only seeing it in log4J as a warning and it's not stopping the application's execution): [ ] 2009-06-01 18:15:50,156 WARN oServi...
- 26 May 2009, 10:37
- Forum: Java2SE / Android Client API
- Topic: Exception on reconnect attempt
- Replies: 5
- Views: 19536
Hi, thanks for the reply Here's the stack trace below, the exception is'nt caught by the java code so will stop the execution of the program. I have only put a simple try/catch(Exception e) aound the sfs.connect() call so far. It does'nt enter it. The only way to improve it has been to put a thread....
- 22 May 2009, 13:00
- Forum: Java2SE / Android Client API
- Topic: Exception on reconnect attempt
- Replies: 5
- Views: 19536
Exception on reconnect attempt
Hi all, I'm writing a java class that needs to be very robust in recovering from potential network outages/pc crashes etc. One of the tests is how it reconnects if smartfox server is closed suddenly. I've added the SFSEvent.onConnection and SFSEvent.onConnectionLost event listeners and set it so a r...