摘要:
客户端也就4步,上代码 public void client() throws Exception { //1.创建管道和管理 EventLoopGroup workerGroup =new NioEventLoopGrou... 阅读全文
posted @ 2020-07-06 21:02
jasmineTang
阅读(156)
评论(0)
推荐(0)
摘要:
//1.String ->Bytebuf//把string text转换成Bytebufchannel.writeAndFlush(Unpooled.copiedBuffer(text.getBytes());//2.Object msg->String st... 阅读全文
posted @ 2020-07-06 20:58
jasmineTang
阅读(856)
评论(0)
推荐(0)

浙公网安备 33010602011771号