• 大小: 4.63MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-30
  • 语言: 其他
  • 标签: netty  

资源简介

《netty权威指南》中私有协议栈开发章节对netty理解和入门很有帮助,但书中代码有各种无法编译的问题,自己各种查漏补缺后完善了书中的实例,完全可以运行调试了,有兴趣可以下载看看试试,下载后可直接导入myeclipse 我的调试环境(可供参考):MyEclipse6.5.0,jdk1.7.0_8

资源截图

代码片段和文件信息

package com.test;

public class MessageType {

public static byte LOIGN_REQ = 1;
public static byte LOGIN_RESP_SUCCESS = 2;
public static byte LOGIN_RESP_FAILT = 3;
public static byte HEARTBEAT_REQ = 4;
public static byte HEARBEAR_RESP = 5;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-03-07 11:47  nettytest\
     文件         578  2016-03-09 17:03  nettytest\.classpath
     文件         385  2016-03-04 14:32  nettytest\.project
     目录           0  2016-03-07 11:47  nettytest\.settings\
     文件         629  2016-03-07 11:47  nettytest\.settings\org.eclipse.jdt.core.prefs
     目录           0  2016-03-15 10:32  nettytest\bin\
     目录           0  2016-03-15 10:32  nettytest\bin\com\
     目录           0  2016-03-15 10:32  nettytest\bin\com\test\
     目录           0  2016-03-15 10:32  nettytest\bin\com\test\client\
     文件        1756  2016-03-15 10:32  nettytest\bin\com\test\client\HeartBeatReqHandler$HeartBeatTask.class
     文件        2048  2016-03-15 10:32  nettytest\bin\com\test\client\HeartBeatReqHandler.class
     文件        2668  2016-03-15 10:32  nettytest\bin\com\test\client\LoginAuthReqHandler.class
     文件        1120  2016-03-15 10:32  nettytest\bin\com\test\client\NettyClient$1.class
     文件        1640  2016-03-15 10:32  nettytest\bin\com\test\client\NettyClient$2.class
     文件        2755  2016-03-15 10:32  nettytest\bin\com\test\client\NettyClient.class
     文件         552  2016-03-15 10:32  nettytest\bin\com\test\MessageType.class
     文件         443  2016-03-15 10:32  nettytest\bin\com\test\NettyConfig.class
     文件        1165  2016-03-15 10:32  nettytest\bin\com\test\NettyMessage.class
     文件        2667  2016-03-15 10:32  nettytest\bin\com\test\NettyMessageDecoder.class
     文件        3521  2016-03-15 10:32  nettytest\bin\com\test\NettyMessageEncoder.class
     文件        2447  2016-03-15 10:32  nettytest\bin\com\test\NettyMessageHeader.class
     目录           0  2016-03-15 10:32  nettytest\bin\com\test\server\
     文件        1852  2016-03-15 10:32  nettytest\bin\com\test\server\HeartBeatRespHandler.class
     文件        2359  2016-03-15 10:32  nettytest\bin\com\test\server\LoginAuthRespHandler.class
     文件        1639  2016-03-15 10:32  nettytest\bin\com\test\server\NettyServer$1.class
     文件        2964  2016-03-15 10:32  nettytest\bin\com\test\server\NettyServer.class
     目录           0  2016-03-15 10:32  nettytest\bin\com\test\util\
     文件        1822  2016-03-15 10:32  nettytest\bin\com\test\util\MarshallingCodeCFactory.class
     文件        1257  2016-03-15 10:32  nettytest\bin\com\test\util\NettyMarshallingDecoder.class
     文件         862  2016-03-15 10:32  nettytest\bin\com\test\util\NettyMarshallingEncoder.class
     目录           0  2016-03-09 17:02  nettytest\lib\
............此处省略27个文件信息

评论

共有 条评论