摘要: ServerBootstrapAcceptor 书接上文,讲到SingleThreadEventExecutor.this.run();即NioEventLoop.run()方法。 服务器启动后,等待事件,如果有连接事件,strategy为1。就会去执行processSelectedKeys方法。 阅读全文
posted @ 2021-03-05 22:17 xiaojiesir 阅读(193) 评论(0) 推荐(0)