org.jogre.common.comm
Class CommDisconnect
java.lang.Object
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.3
- Author:
- Bob Marks
Constructor Summary |
CommDisconnect()
Constructor which specifies that a client wishes to disconnect. |
CommDisconnect(String username)
Message sent from server to other clients. |
CommDisconnect(XMLElement message)
Constructor which creates a CommDisconnect object from the flatten ()
method of another CommDisconnect object. |
CommDisconnect
public CommDisconnect()
- Constructor which specifies that a client wishes to disconnect.
CommDisconnect
public CommDisconnect(String username)
- Message sent from server to other clients.
- Parameters:
username
-
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()