|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.crowd.chat.data.ChatMessage
public abstract class ChatMessage
The abstract base class of all the client-side ChatMessage objects.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
String |
bundle
The bundle to use when translating this message. |
String |
localtype
The client side 'localtype' of this chat, set to the type registered with an auxiliary source in the ChatDirector. |
String |
message
The actual text of the message. |
long |
timestamp
The client time that this message was created. |
| Constructor Summary | |
|---|---|
ChatMessage(String message,
String bundle)
Construct a ChatMessage. |
|
| Method Summary | |
|---|---|
String |
getFormat()
Get the appropriate message format for this message. |
void |
setClientInfo(String msg,
String ltype)
Once this message reaches the client, the information contained within is changed around a bit. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String message
public String bundle
public transient String localtype
public transient long timestamp
| Constructor Detail |
|---|
public ChatMessage(String message,
String bundle)
| Method Detail |
|---|
public void setClientInfo(String msg,
String ltype)
public String getFormat()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||