netGameManager
Class AnswerMessage
java.lang.Object
netGameManager.AnswerMessage
public class AnswerMessage
- extends java.lang.Object
This class contains the basic attributes for a message that is produced in the GameServer
.
This message is the response for a RequestMessage
for GaneClient
field REQUEST came from some (GameClient
) and the GameServer will try to answer the request.
The answer text is stored in the field RESPONSE and the field OK says if the request was or not attended.
- Version:
- 0.5 beta - 03/15/2006
- Author:
- Luciano Antonio Digiampietri
- See Also:
GameClient
,
GameServer
Constructor Summary |
AnswerMessage(boolean status,
java.lang.String general,
java.lang.String specific,
int gameID)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public boolean OK
GID
public int GID
GENERAL_MESSAGE
public java.lang.String GENERAL_MESSAGE
SPECIFIC_MESSAGE
public java.lang.String SPECIFIC_MESSAGE
GAME_GENERAL_STATUS
public java.lang.String GAME_GENERAL_STATUS
AnswerMessage
public AnswerMessage(boolean status,
java.lang.String general,
java.lang.String specific,
int gameID)
message2string
public java.lang.String message2string()