org.jogre.common.comm
Class CommDisconnect
java.lang.Object
org.jogre.common.comm.CommBaseMessage
org.jogre.common.comm.CommGameMessage
org.jogre.common.comm.CommDisconnect
- All Implemented Interfaces:
- ITransmittable
- public class CommDisconnect
- extends CommGameMessage
Communication class which is used to disconnect a user from the system.
- Version:
- Alpha 0.2.1
- Author:
- Bob Marks
Field Summary |
static int |
CLIENT_DISCONNECT
Status string that a user wishes to disconnect. |
Constructor Summary |
CommDisconnect(int status)
Constructor which takes a status. |
CommDisconnect(XMLElement message)
Constructor which creates a CommDisconnect object from the flatten ()
method of another CommDisconnect object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLIENT_DISCONNECT
public static final int CLIENT_DISCONNECT
- Status string that a user wishes to disconnect.
- See Also:
- Constant Field Values
CommDisconnect
public CommDisconnect(int status)
- Constructor which takes a status.
- Parameters:
status
-
CommDisconnect
public CommDisconnect(XMLElement message)
throws TransmissionException
- Constructor which creates a CommDisconnect object from the flatten ()
method of another CommDisconnect object.
- Parameters:
message
-
- Throws:
TransmissionException
flatten
public XMLElement flatten()
- Flatten disconnect object.
- Returns:
- XML version of the state of an object which can be constructed again.
- See Also:
ITransmittable.flatten()