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
from some (game client) 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:
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()