78

Netty源码分析之ChannelPipeline-沙漏半杯

 5 years ago
source link: http://blog.51cto.com/14028890/2324938
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
每个channel内部都会持有一个ChannelPipeline对象pipeline.pipeline默认实现DefaultChannelPipeline内部维护了一个DefaultChannelHandlerContext链表。当channel完成register、active、read等操作时,会触发pipeline的相应方法。1、当channel注册到selector时,触发pipeline

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK