netty tcp设置属性时有的有 child前缀,是什么意思。。。child是代表子ChannelPipeline么,还是代表什么。。。
好象是代表channle吧
那child代表是子channel 还是?
// Split options into two categories: parent and child.
"child."是用来区分父、子ChannelPipeline的options属性前缀
查看org.jboss.netty.bootstrap.ServerBootstrap源码内部类Binder可以找到答案
父,子有什么区别
先理解父子Channel的概念后这个问题就很明白了。
引用一下:"child." 前缀。这意味着这个配置项仅适用于我们接收到的通道实例,而不是ServerSocketChannel 实例
好象是代表channle吧
引用来自#2楼“JavaGG”的帖子
好象是代表channle吧
那child代表是子channel 还是?
// Split options into two categories: parent and child.
"child."是用来区分父、子ChannelPipeline的options属性前缀
查看org.jboss.netty.bootstrap.ServerBootstrap源码内部类Binder可以找到答案
引用来自#4楼“kind790”的帖子
// Split options into two categories: parent and child.
"child."是用来区分父、子ChannelPipeline的options属性前缀
父,子有什么区别
先理解父子Channel的概念后这个问题就很明白了。
引用一下:"child." 前缀。这意味着这个配置项仅适用于我们接收到的通道实例,而不是ServerSocketChannel 实例