|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggz.cards.common.ServerOpCode
public class ServerOpCode
Messages from server
Field Summary | |
---|---|
static ServerOpCode |
MSG_BADPLAY
Tells the player that they have made a bad play. |
static ServerOpCode |
MSG_BID
Tells the client of a player's bid. |
static ServerOpCode |
MSG_GAME_MESSAGE_CARDLIST
A list of cards for each player. |
static ServerOpCode |
MSG_GAME_MESSAGE_PLAYER
A text message for the player, consisting of a seat # followed by a message string. |
static ServerOpCode |
MSG_GAME_MESSAGE_TEXT
A simple text message, containing two strings: a "marker" and the "message". |
static ServerOpCode |
MSG_GAME_SPECIFIC
Block data that may be game-specific. |
static ServerOpCode |
MSG_GAMEOVER
Tells the client of a gameover situation. |
static ServerOpCode |
MSG_HAND
Tells the client of a player's hand. |
static ServerOpCode |
MSG_NEWGAME
Tells the client of a start of a new game. |
static ServerOpCode |
MSG_NEWHAND
Tells the client a new hand is starting. |
static ServerOpCode |
MSG_PLAY
Tells the client of a player playing a card onto the table. |
static ServerOpCode |
MSG_PLAYERS
Tells the client the list of seats. |
static ServerOpCode |
MSG_PLAYERS_STATUS
Tells the client the status of each player. |
static ServerOpCode |
MSG_SCORES
Tells the client scores. |
static ServerOpCode |
MSG_TABLE
Sends out the current table to the client. |
static ServerOpCode |
MSG_TRICK
Tells the client of the end of a trick. |
static ServerOpCode |
MSG_TRICKS_COUNT
Tells the client tricks. |
static ServerOpCode |
MSG_TRUMP
Contains a single byte that tells the trump suit. |
static ServerOpCode |
REQ_BID
Requests a bid from the client. |
static ServerOpCode |
REQ_NEWGAME
Requests a newgame response (RSP_NEWGAME) from the client. |
static ServerOpCode |
REQ_OPTIONS
Requests options from the client. |
static ServerOpCode |
REQ_PLAY
Requests a play (of a card) from the client. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static ServerOpCode |
valueOf(int ordinal)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ServerOpCode REQ_NEWGAME
public static final ServerOpCode MSG_NEWGAME
public static final ServerOpCode MSG_GAMEOVER
public static final ServerOpCode MSG_PLAYERS
public static final ServerOpCode MSG_SCORES
public static final ServerOpCode MSG_TRICKS_COUNT
public static final ServerOpCode REQ_OPTIONS
public static final ServerOpCode MSG_NEWHAND
public static final ServerOpCode MSG_TRUMP
public static final ServerOpCode MSG_HAND
public static final ServerOpCode MSG_PLAYERS_STATUS
public static final ServerOpCode REQ_BID
public static final ServerOpCode MSG_BID
public static final ServerOpCode REQ_PLAY
public static final ServerOpCode MSG_BADPLAY
public static final ServerOpCode MSG_PLAY
public static final ServerOpCode MSG_TRICK
public static final ServerOpCode MSG_TABLE
public static final ServerOpCode MSG_GAME_MESSAGE_TEXT
public static final ServerOpCode MSG_GAME_MESSAGE_PLAYER
public static final ServerOpCode MSG_GAME_MESSAGE_CARDLIST
public static final ServerOpCode MSG_GAME_SPECIFIC
Method Detail |
---|
public static ServerOpCode valueOf(int ordinal)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |