请问下
1、ChannelHandlerContext和Channel的close关闭有什么区别, 在资源回收上哪个方法比较好?
2、 channelInactive、exceptionCaught、userEventTriggered是否有必要都调用close方法?
请问下
1、ChannelHandlerContext和Channel的close关闭有什么区别, 在资源回收上哪个方法比较好?
2、 channelInactive、exceptionCaught、userEventTriggered是否有必要都调用close方法?