public abstract class ChatMessage extends Object implements Streamable
Streamable.Closure| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ChatMessage(String message,
String bundle)
Construct a ChatMessage.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public String message
public String bundle
public transient String localtype
public transient long timestamp
Copyright © 2015. All rights reserved.