org.jogre.common.comm
Class CommChatTable
java.lang.Object
org.jogre.common.comm.CommBaseMessage
org.jogre.common.comm.CommGameMessage
org.jogre.common.comm.CommTableMessage
org.jogre.common.comm.CommChatTable
- All Implemented Interfaces:
- ITransmittable
- public class CommChatTable
- extends CommTableMessage
Chat communications object for chat at a table.
- Version:
- Alpha 0.2.1
- Author:
- Bob Marks
Constructor Summary |
CommChatTable(String chat)
Constructor which takes a message. |
CommChatTable(XMLElement message)
Constructor which creates a CommChatRoom object from the flatten ()
method of another CommChatRoom object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chat
protected String chat
- Chat String.
CommChatTable
public CommChatTable(String chat)
- Constructor which takes a message.
- Parameters:
chat
-
CommChatTable
public CommChatTable(XMLElement message)
throws TransmissionException
- Constructor which creates a CommChatRoom object from the flatten ()
method of another CommChatRoom object.
- Parameters:
message
-
- Throws:
TransmissionException
getChat
public String getChat()
- Return the text of the message.
- Returns:
- Chat message from user.
flatten
public XMLElement flatten()
- Transmittable String representation of this object.
- Returns:
- XML version of the state of an object which can be constructed again.
- See Also:
ITransmittable.flatten()