NetProtocol.java
资源名称:J2ME&Game.rar [点击查看]
上传用户:gyyuli
上传日期:2013-07-09
资源大小:3050k
文件大小:1k
源码类别:
J2ME
开发平台:
Java
- package cardserver;
- /**
- * <p>Title: CardClient</p>
- *
- * <p>Description: lizhenpeng</p>
- *
- * <p>Copyright: Copyright (c) 2005</p>
- *
- * <p>Company: LP&P</p>
- *
- * @author lipeng
- * @version 1.0
- */
- public class NetProtocol
- {
- private NetProtocol()
- {
- }
- //客户端发向服务器
- public static final char LOGIN = 0x0001;
- public static final char REQUEST_STARTGAME = 0x0002;
- public static final char POST_CARD = 0x0005;
- public static final char REJECT_CARD = 0x0006;
- //服务器发向客户端
- public static final char HASLOGIN = 0x8001;
- public static final char STARTGAME_FIRST = 0x8002;
- public static final char STARTGAME_LAST = 0x8003;
- public static final char OPPO_REJECT = 0x8004;
- public static final char OPPO_POSTCARD = 0x8005;
- }