|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jogre.common.comm.CommGameMessage
org.jogre.common.comm.CommNewTable
Small communication object for requesting the creation of a new table. Although this message is responsible for table communication it is at the game level as we dont know our table number (the server creates).
| Field Summary |
| Fields inherited from class org.jogre.common.comm.CommGameMessage |
status, username, usernameTo, XML_ATT_STATUS, XML_ATT_USERNAME, XML_ATT_USERNAME_TO |
| Fields inherited from interface org.jogre.common.comm.ITransmittableWithProps |
XML_ATT_PROPERTIES |
| Constructor Summary | |
CommNewTable(boolean isPublic)
Constructor for creating a new table. |
|
CommNewTable(XMLElement message)
Consturctor for creating a new message. |
|
| Method Summary | |
void |
addProperty(String key,
String value)
Add a property to the Table Action. |
XMLElement |
flatten()
Flatten the String for transmission purposes. |
JogrePropertyHash |
getProperties()
Return the properties hash. |
boolean |
isPublic()
Return true if this table is a public table or not. |
| Methods inherited from class org.jogre.common.comm.CommGameMessage |
flatten, getStatus, getUsername, getUsernameTo, isUsernameSet, isUsernameToSet, setUsername, setUsernameTo, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CommNewTable(boolean isPublic)
public CommNewTable(XMLElement message)
message - | Method Detail |
public boolean isPublic()
public void addProperty(String key,
String value)
addProperty in interface ITransmittableWithPropskey - value - public JogrePropertyHash getProperties()
ITransmittableWithProps
getProperties in interface ITransmittableWithPropsITransmittableWithProps.getProperties()public XMLElement flatten()
flatten in interface ITransmittableITransmittable.flatten()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||