org.jogre.comm
Class CommChatTable

java.lang.Object
  |
  +--org.jogre.comm.CommChatBroadcast
        |
        +--org.jogre.comm.CommChatTable
All Implemented Interfaces:
ITransmittable

public class CommChatTable
extends CommChatBroadcast

Chat communications object for chat at a table.

Version:
Alpha 0.1
Author:
Bob Marks

Field Summary
protected static int MIN_NUM_OF_TOKENS
           
protected  int tableNum
           
 
Fields inherited from class org.jogre.comm.CommChatBroadcast
message, MIN_TOKENS, usernameFrom
 
Constructor Summary
CommChatTable(String inString)
          Constructor which creates a CommChatRoom object from the flatten () method of another CommChatRoom object.
CommChatTable(String usernameFrom, int tableNum, String message)
           
 
Method Summary
 String flatten()
          Transmittable String representation of this object.
 int getRoom()
           
 
Methods inherited from class org.jogre.comm.CommChatBroadcast
getMessage, getUsernameFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_NUM_OF_TOKENS

protected static final int MIN_NUM_OF_TOKENS

tableNum

protected int tableNum
Constructor Detail

CommChatTable

public CommChatTable(String usernameFrom,
                     int tableNum,
                     String message)

CommChatTable

public CommChatTable(String inString)
              throws TransmissionException
Constructor which creates a CommChatRoom object from the flatten () method of another CommChatRoom object.
Parameters:
inString -  
Throws:
TransmissionException -  
Method Detail

flatten

public String flatten()
Transmittable String representation of this object.
Overrides:
flatten in class CommChatBroadcast
See Also:
ITransmittable.flatten()

getRoom

public int getRoom()