fix:出入栈处理器

上级 1baab088
......@@ -23,5 +23,4 @@ public class EchoServerHandler extends ChannelInboundHandlerAdapter {
//入栈处理器最后的写入,供出栈处理器读取 ctx.channel()相当于 NioSocketChannel ch
ctx.channel().writeAndFlush(ctx.alloc().buffer().writeBytes(msg.toString().getBytes()));
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册