摘要: 1、Netty 是怎么创建服务端Channel的呢? 我们在使用ServerBootstrap.bind(端口)方法时,最终调用其父类AbstractBootstrap中的doBind方法,相关源码如下: 我们继续跟进initAndRegister()这个方法,发现是使用channelFactory 阅读全文
posted @ 2019-08-06 22:48 monkjavaer 阅读(327) 评论(0) 推荐(1) 编辑