org.jogre.common.comm
Class CommMasterServerConnect
java.lang.Object
org.jogre.common.comm.CommBaseMessage
org.jogre.common.comm.CommMasterServerConnect
- All Implemented Interfaces:
- ITransmittable
- public class CommMasterServerConnect
- extends CommBaseMessage
Communication object for connecting to the master server.
- 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 |
CommMasterServerConnect
public CommMasterServerConnect(String serverName)
- Constructor for connecting to the server.
- Parameters:
serverName
- Name of the server.
CommMasterServerConnect
public CommMasterServerConnect(XMLElement message)
- Parameters:
message
-
getServerName
public String getServerName()
- Return the server name.
- Returns:
- Name of the server.
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()