上一章我们理论性的分析了bind()方法,现在我们通过debug的方式进步分析。

server端代码:

我们直接debug到bind()方法中

Netty的深入浅出--44.debug分析bind()方法

 启动服务器,然后进入到bind()方法中:

Netty的深入浅出--44.debug分析bind()方法

Netty的深入浅出--44.debug分析bind()方法 

Netty的深入浅出--44.debug分析bind()方法 

Netty的深入浅出--44.debug分析bind()方法 

Netty的深入浅出--44.debug分析bind()方法 

Netty的深入浅出--44.debug分析bind()方法 

现在这个channel对象就已经有了

Netty的深入浅出--44.debug分析bind()方法 

 后面的由读者自己去摸索了,不在进行debug分析

相关文章: