ServerMessagepublic class ServerMessage extends Object The data stucture used by the classes that send/receive messages as sent between client and server |
Fields Summary |
---|
public int | port | public String | msgid | public String | msg | public static String | BYE | public static String | TOKEN | public static String | REFUSED | public static String | STATUS | public static String | CHAT | public static String | LIST | public static String | WELCOME | public static String | PLAYER_LIST | public static String | LIBRARY_LIST | public static String | MOVE_LIST | public static String | RESUME | public static String | LIBRARY_GAME | public static String | RESIGNED | public static String | MOVED | public static String | TOKEN_MOVE | public static String | ACCEPT_ABORT | public static String | ACCEPT_DRAW | public static String | GAME_ACCEPTED | public static String | INFORMATION | public static String | INFO | public static String | OFFER_DRAW | public static String | OFFER_ABORT | public static String | CHALLENGED | public static String | DEAD |
Constructors Summary |
---|
public ServerMessage(int port, String messageId, String message)
this.port = port;
this.msgid = messageId;
this.msg = message;
|
|