在Netty中,当使用ChannelFuture.addListener方法后,这里面的代码不执行

【在Netty中,当使用ChannelFuture.addListener方法后,这里面的代码不执行】

在Netty中,当使用ChannelFuture.addListener方法后,这里面的代码不执行

文章插图
在Netty中,当使用ChannelFuture.addListener方法时,在Netty中不执行里面的代码 。使用ChannelFuture.addListener方法时,不会执行其中的代码 。简介:案例“3quot:{ channel future channel future = channelhandler context . writeandflush(新BinaryWebSocketFram