private final BootChain chain = BootChain.chain();
public ServerLauncher() {
chain.boot()
.setNext(new ZKBoot())//1.启动ZK节点数据变化监听
.setNext(new RedisBoot())//2.注册redis sever 到ZK
<BUG>.setNext(new ServerBoot(ConnectionServer.I(), CS_NODE))//3.启动长连接服务
.setNext(new ServerBoot(udpGateway() ? GatewayUDPConnector.I() : GatewayServer.I(), GS_NODE))//4.启动网关服务</BUG>
.setNext(new ServerBoot(AdminServer.I(), null))//5.启动控制台服务
.setNext(new PushCenterBoot())//6.启动http代理服务，解析dns
.setNext(new HttpProxyBoot())//6.启动http代理服务，解析dns

private final BootChain chain = BootChain.chain();
public ServerLauncher() {
chain.boot()
.setNext(new ZKBoot())//1.启动ZK节点数据变化监听
.setNext(new RedisBoot())//2.注册redis sever 到ZK
.setNext(new ServerBoot(ConnectionServer.I(), CS_NODE))//3.启动长连接服务
.setNext(() -> new ServerBoot(WebSocketServer.I(), WS_NODE), wsEnabled())//4.启动websocket连接服务
.setNext(new ServerBoot(udpGateway() ? GatewayUDPConnector.I() : GatewayServer.I(), GS_NODE))//4.启动网关服务
.setNext(new ServerBoot(AdminServer.I(), null))//5.启动控制台服务
.setNext(new PushCenterBoot())//6.启动http代理服务，解析dns
.setNext(new HttpProxyBoot())//6.启动http代理服务，解析dns
