Netty的inbound和outbound事件传播过程

参考https://www.jianshu.com/p/772f14930f83

这里对于文章里的

ctx.fireChannelRead(msg); 从头节点HeadContext开始传播
ctx.pipeline().fireChannelRead(msg);从当前节点往下传播事件

至今不清楚ctx.pipeline().fireChannelRead(msg) 是如何用的

 太理解,留着消化后来整理下。

发布了125 篇原创文章 · 获赞 9 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/jiezhang656/article/details/105118160
今日推荐