org.jogre.common.comm
Class CommMasterServerConnect
java.lang.Object
org.jogre.common.comm.CommGameMessage
org.jogre.common.comm.CommMasterServerConnect
- All Implemented Interfaces:
- ITransmittable
- public class CommMasterServerConnect
- extends CommGameMessage
Communication object for connecting to the master server.
- Version:
- Alpha 0.2.3
- Author:
- Bob Marks
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()