Netty深入浅出系列:Netty源码&服务启动 eventLoop是什么?回到ServerBootstrap的init(Channel channel)方法,添加handler到channel的pipeline中。Netty把注册操作放到eventLoop中执行。 arctan0 2019-03-02 03:33:40
Netty4.x 源码实战系列(二):服务端bind流程详解 。。。所以,initAndRegister中的channelFactory.newChannel()方法就是生成了一个NioServerSocketChannel的实例。至此ServerBootstrap的bind工作执行完成。 thisisid 2019-06-26 06:51:41