private final SimpleEventEmitter emitter;
private final IdGenerator idGenerator = new RandomIdGenerator();
public DefaultSocketManager() {
this.namespaces = new ConcurrentHashMap<String, NamespaceImplementor>();
emitter = new SimpleEventEmitter(SocketConnectedEvent.class, SocketDisconnectedEvent.class);
this.defaultNamespace = of(DEFAULT_NAMESPACE_NAME);
}