Code: Select all
04-30 21:35:24.965: W/SmartFoxClient(23013): Socket Error: Could not close session! (already connected?)
04-30 21:35:24.965: W/SmartFoxClient(23013): java.lang.Exception: Could not close session! (already connected?)
04-30 21:35:24.965: W/SmartFoxClient(23013): at it.gotoandplay.utils.net.xmlsocket.XMLSocket.close(XMLSocket.java:88)
04-30 21:35:24.965: W/SmartFoxClient(23013): at it.gotoandplay.smartfoxclient.SmartFoxClient.disconnect(SmartFoxClient.java:1252)
04-30 21:35:24.965: W/SmartFoxClient(23013): at com.diwip.connection.sfs.Connection$3.run(Connection.java:357)
04-30 21:35:24.965: W/SmartFoxClient(23013): at java.lang.Thread.run(Thread.java:1019)
The questions:
1) is it possible to close the socket connection?
2) if not, can i prevent onConnection event being fired?
Thanks!