throw new IllegalStateException(e);
}
}
packetHandler = new PacketHandler(packetListener, decoder, namespacesHub);
authorizeHandler = new AuthorizeHandler(connectPath, scheduler, configuration, namespacesHub);
xhrPollingTransport = new XHRPollingTransport(connectPath, ackManager, this, scheduler, authorizeHandler, configuration);
webSocketTransport = new WebSocketTransport(connectPath, isSsl, ackManager, this, authorizeHandler, heartbeatHandler);
flashSocketTransport = new FlashSocketTransport(connectPath, isSsl, ackManager, this, authorizeHandler, heartbeatHandler);
resourceHandler = new ResourceHandler(configuration.getContext());
socketIOEncoder = new SocketIOEncoder(encoder);