disconnectScheduler.cancel(key);
}
public void connect(MainBaseClient client) {
connect(client.getSessionId());
configuration.getStoreFactory().pubSubStore().publish(PubSubStore.CONNECT, new ConnectMessage(client.getSessionId()));
client.send(new Packet(PacketType.CONNECT));
Namespace ns = namespacesHub.get(Namespace.DEFAULT_NAME);
SocketIOClient nsClient = client.addChildClient(ns);