最近做项目发现Netty中的channel有channelRead 方法也有channelRead0 方法,
然后思考下这两个有什么区别呢?
我们来直接看源码
channelRead
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
boolean release = true;
try
最近做项目发现Netty中的channel有channelRead 方法也有channelRead0 方法,
然后思考下这两个有什么区别呢?
我们来直接看源码
channelRead
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
boolean release = true;
try