0
点赞
收藏
分享

微信扫一扫

netty源码:(4)ServerBootstrap


netty源码:(4)ServerBootstrap_成员变量


ServerBootstrap的group方法用来给成员变量赋值,如下图

netty源码:(4)ServerBootstrap_父类_02


netty源码:(4)ServerBootstrap_赋值_03


AbstractBootstrap为ServerBootstrap的父类。

ServerBootstrap的channel方法用来设置channelFactory成员变量(在父类AbstractBootstrap里)

netty源码:(4)ServerBootstrap_java_04


netty源码:(4)ServerBootstrap_父类_05


netty源码:(4)ServerBootstrap_赋值_06


ServerBootstrap的childHandler方法用来给本类的成员变量赋值。

netty源码:(4)ServerBootstrap_java_07


举报

相关推荐

0 条评论