always writes
A connection attempt is already running
cource SmartFox.class
Code: Select all
public void handleHandShake(BaseEvent evt) {
SFSObject obj = (SFSObject)evt.getArguments().get("message");
if(!obj.containsKey("ec")) {
...
if(this.bitSwarm.isReconnecting()) {
this.bitSwarm.setReconnecting(false);
this.dispatchEvent(new SFSEvent("connectionResume")); //!!!!! may be this.isConnecting = false; ???
} else {
this.isConnecting = false;
HashMap errorCode = new HashMap();
errorCode.put("success", Boolean.valueOf(true));
this.dispatchEvent(new SFSEvent("connection", errorCode));
}
} else {
...
}
}