org.jogre.common.comm
Class CommMasterServerMessage
java.lang.Object
org.jogre.common.comm.CommBaseMessage
org.jogre.common.comm.CommMasterServerMessage
- All Implemented Interfaces:
- ITransmittable
- public class CommMasterServerMessage
- extends CommBaseMessage
- Version:
- Alpha 0.2.1
- Author:
- Bob Marks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommMasterServerMessage
public CommMasterServerMessage(String serverName)
- Constructor for connecting to the server.
- Parameters:
serverName
- Name of the server.
CommMasterServerMessage
public CommMasterServerMessage(XMLElement message)
- Constructor for a master server message.
- Parameters:
message
-
getServerName
public String getServerName()
- Return the server name.
- Returns:
- Server name
flatten
public XMLElement flatten()
- Flatten this object into an XML String.
- Returns:
- XML version of the state of an object which can be constructed again.
- See Also:
ITransmittable.flatten()