mina 断包,粘包问题解决

上传者: u012151597 | 上传时间: 2021-03-24 14:27:18 | 文件大小: 54KB | 文件类型: ZIP
本代码主要针对于解决mina 断包,丢包问题,里面包含客户端,服务端,直接可以使用客户端可以进行测试

文件下载

资源详情

[{"title":"( 98 个子文件 54KB ) mina 断包,粘包问题解决","children":[{"title":"mina_optimize","children":[{"title":"pom.xml <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"test-classes","children":null,"spread":false},{"title":"m2e-jee","children":[{"title":"web-resources","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"com.liuc","children":[{"title":"mina_test","children":[{"title":"pom.xml <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"com.onion","children":[{"title":"mina_test","children":[{"title":"pom.xml <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"mina_optimize","children":[{"title":"pom.xml <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"log4j.properties <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"onion","children":[{"title":"client","children":[{"title":"Context.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayDecoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientReconnectTest$1.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientReconnectTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientHandler.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"IoListener.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayCodecFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayEncoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"NSMinaCodeFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSMinaHandler.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSProtocalEncoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSProtocalDecoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ServerTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BaseMessageForServer.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BaseMessageForClient.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSMinaKeepAliveMessageFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"mina","children":[{"title":"client","children":[{"title":"Context.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayDecoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientReconnectTest$1.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientReconnectTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientHandler.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ClientTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"IoListener.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayCodecFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ByteArrayEncoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"NSMinaCodeFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSMinaHandler.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSProtocalEncoder.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSProtocalDecoder.class <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"ServerTest.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BaseMessageForServer.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"BaseMessageForClient.class <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"NSMinaKeepAliveMessageFactory.class <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utils","children":[{"title":"ByteTools.class <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"config.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"spring","children":[{"title":"applicationContext-mina.xml <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"com.genuitec.eclipse.j2eedt.core.prefs <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"webapp","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"lib","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"resources","children":[{"title":"log4j.properties <span style='color:#111;'> 866B </span>","children":null,"spread":false},{"title":"config.properties <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"spring","children":[{"title":"applicationContext-mina.xml <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"applicationContext.xml <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"onion","children":[{"title":"client","children":[{"title":"Context.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"IoListener.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ClientTest.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ByteArrayEncoder.java <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"ClientReconnectTest.java <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"ClientHandler.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"ByteArrayCodecFactory.java <span style='color:#111;'> 785B </span>","children":null,"spread":false},{"title":"ByteArrayDecoder.java <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"NSMinaCodeFactory.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"BaseMessageForClient.java <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"ServerTest.java <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"BaseMessageForServer.java <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"NSMinaHandler.java <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"NSProtocalDecoder.java <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"NSMinaKeepAliveMessageFactory.java <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"NSProtocalEncoder.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"mina","children":[{"title":"client","children":[{"title":"Context.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"IoListener.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ClientTest.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ByteArrayEncoder.java <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"ClientReconnectTest.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"ClientHandler.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"ByteArrayCodecFactory.java <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"ByteArrayDecoder.java <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"server","children":[{"title":"NSMinaCodeFactory.java <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"BaseMessageForClient.java <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"ServerTest.java <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"BaseMessageForServer.java <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"NSMinaHandler.java <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"NSProtocalDecoder.java <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"NSMinaKeepAliveMessageFactory.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"NSProtocalEncoder.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"utils","children":[{"title":"ByteTools.java <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 964B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明