NetProtocol.java
上传用户:gyyuli
上传日期:2013-07-09
资源大小:3050k
文件大小:1k
源码类别:

J2ME

开发平台:

Java

  1. package cardclient;
  2. /**
  3.  * <p>Title: CardClient</p>
  4.  *
  5.  * <p>Description: lizhenpeng</p>
  6.  *
  7.  * <p>Copyright: Copyright (c) 2005</p>
  8.  *
  9.  * <p>Company: LP&P</p>
  10.  *
  11.  * @author lipeng
  12.  * @version 1.0
  13.  */
  14. public class NetProtocol
  15. {
  16.   private NetProtocol()
  17.   {
  18.   }
  19.   //客户端发向服务器
  20.   public static final char LOGIN = 0x0001;
  21.   public static final char REQUEST_STARTGAME = 0x0002;
  22.   public static final char POST_CARD = 0x0005;
  23.   public static final char REJECT_CARD = 0x0006;
  24.   //服务器发向客户端
  25.   public static final char HASLOGIN = 0x8001;
  26.   public static final char STARTGAME_FIRST = 0x8002;
  27.   public static final char STARTGAME_LAST = 0x8003;
  28.   public static final char OPPO_REJECT = 0x8004;
  29.   public static final char OPPO_POSTCARD = 0x8005;
  30. }