1
zhang
9 天以前 add29c9dfe37a3147ee1a426e1dba2f42ad741e6
src/main/java/com/zy/core/netty/OnlineServer.java
@@ -33,18 +33,18 @@
    private EventLoopGroup bossGroup;
    private EventLoopGroup workerGroup;
    @Autowired
    public OnlineServer(TcpProperties tcpProperties, HandlerInitializer handlerInitializer) { ;
        this.tcpProperties = tcpProperties;
        this.handlerInitializer = handlerInitializer;
    }
    {
        bootstrap = new ServerBootstrap();
        bossGroup = new NioEventLoopGroup(1);
        workerGroup = new NioEventLoopGroup();
    }
    @Autowired
    public OnlineServer(TcpProperties tcpProperties, HandlerInitializer handlerInitializer) {
        ;
        this.tcpProperties = tcpProperties;
        this.handlerInitializer = handlerInitializer;
    }
    /**
     *  tcp server init