|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jogre.common.comm.CommBaseMessage
org.jogre.common.comm.CommGameMessage
org.jogre.common.comm.CommGameConnect
Communciations connect object.
Field Summary | |
static int |
CLIENT_REQUEST_CONNECT
Status code for a client requesting a connection. |
protected String |
password
Password if connecting to the JOGRE master server. |
static int |
SERVER_FULL
Status code for a server receiving a connection. |
static int |
SERVER_RECEIVED_CONNECT
Status code for a server receiving a connection. |
Fields inherited from class org.jogre.common.comm.CommGameMessage |
gameID, LAYER, usernameTo, XML_ATT_GAME_ID |
Fields inherited from class org.jogre.common.comm.CommBaseMessage |
layer, status, username, XML_ATT_LAYER |
Constructor Summary | |
CommGameConnect(int status)
Constructor which takes a status integer. |
|
CommGameConnect(XMLElement message)
Constructor which creates a CommConnect object from the flatten () method of another CommConnect object. |
Method Summary | |
XMLElement |
flatten()
Flatten the connect object into a XML communication object. |
String |
getPassword()
Return the password. |
void |
setPassword(String password)
Set the password. |
Methods inherited from class org.jogre.common.comm.CommGameMessage |
flatten, getGameID, getUsernameTo, isUsernameToSet, setGameID |
Methods inherited from class org.jogre.common.comm.CommBaseMessage |
getStatus, getUsername, setUsername |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CLIENT_REQUEST_CONNECT
public static final int SERVER_RECEIVED_CONNECT
public static final int SERVER_FULL
protected String password
Constructor Detail |
public CommGameConnect(int status)
status
- public CommGameConnect(XMLElement message) throws TransmissionException
message
-
TransmissionException
Method Detail |
public String getPassword()
public void setPassword(String password)
password
- Password to set.public XMLElement flatten()
ITransmittable.flatten()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |