逻辑就是在处理handler前加入一个处理符,然后 channelReadComplete这个事件进行处理.同时注意客服端的配置: public void connect(String addr, int port, final String xml, final String key,final boolean flag) throws Exception { EventLoopGroup group = new NioEventLoopGroup(); try { Bootstrap b =
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Runtime.Serialization.Formatters.Binary; using System.Web; using System.Web.Http; namespac