public static class ChatHistory.Entry extends Object implements Streamable
ChatHistory.record(ChatChannel, String, UserMessage, Name[]),
ChatHistory.get(Name), and ChatHistory.clear(Name).Streamable.Closure| Modifier and Type | Field and Description |
|---|---|
ChatChannel |
channel
The channel on which the message was sent, of null if the channel manager was not
used.
|
ChatMessage |
message
The message sent.
|
String |
source
The source of the sent message.
|
| Constructor and Description |
|---|
Entry(ChatChannel channel,
String source,
ChatMessage message) |
| Modifier and Type | Method and Description |
|---|---|
void |
readObject(ObjectInputStream in) |
void |
writeObject(ObjectOutputStream out) |
public final ChatChannel channel
public final ChatMessage message
public final String source
public Entry(ChatChannel channel, String source, ChatMessage message)
public void writeObject(ObjectOutputStream out) throws IOException
IOExceptionpublic void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2015. All rights reserved.