org.jogre.comm
Class CommChatPrivate
java.lang.Object
|
+--org.jogre.comm.CommChatBroadcast
|
+--org.jogre.comm.CommChatPrivate
- All Implemented Interfaces:
- ITransmittable
- public class CommChatPrivate
- extends CommChatBroadcast
Communication class which is used to send private chat from one user to
another.
- Version:
- Alpha 0.1
- Author:
- Bob Marks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_NUM_OF_TOKENS
protected static final int MIN_NUM_OF_TOKENS
usernameTo
protected String usernameTo
CommChatPrivate
protected CommChatPrivate()
CommChatPrivate
public CommChatPrivate(String usernameFrom,
String usernameTo,
String message)
CommChatPrivate
public CommChatPrivate(String inString)
throws TransmissionException
- Constructor which creates a CommChatPrivate object from the flatten ()
method of another CommChatPrivate object.
- Parameters:
inString
- - Throws:
TransmissionException
-
flatten
public String flatten()
- Transmittable String representation of this object.
- Overrides:
flatten
in class CommChatBroadcast
- See Also:
ITransmittable.flatten()
getUsernameTo
public String getUsernameTo()