摘要:
4.1 Channelhandler 4.1.1 Channel声明周期(状态事件) | 方法 | 描述 | | : : |: | | ChannelUnregistered | Channnel已创建,但是未注册到EventLoop | | ChannelRegistered | Channnel 阅读全文
posted @ 2017-08-08 16:57
Desneo
阅读(347)
评论(0)
推荐(0)
摘要:
a). 容量可按需增长,类似(StringBuilder) b). 读写模式之间不需要flip切换 c). 读和写使用不同的索引 writerIndex/readerIndex d). 支持方法的链式调用 5.1 CompositeBuffer() ByteBuf数组 5.2 生成ByteBuf d 阅读全文
posted @ 2017-08-08 12:08
Desneo
阅读(1645)
评论(0)
推荐(0)
摘要:
a). EventLoopGroup为每个新创建的channel分配一个EventLoop,多个channel对应一个EventLoop. b). 一个EventLoop由一个不变的thread驱动,处理channel上所有的IO事件, c). EventLoop往上一直集成自ScheduledEx 阅读全文
posted @ 2017-08-08 11:16
Desneo
阅读(275)
评论(0)
推荐(0)

浙公网安备 33010602011771号