com.threerings.crowd.chat.server
Class ChatHistory.Entry
java.lang.Object
com.threerings.crowd.chat.server.ChatHistory.Entry
- All Implemented Interfaces:
- Streamable
- Enclosing class:
- ChatHistory
public static class ChatHistory.Entry
- extends Object
- implements Streamable
Recorded parcel of chat for historical purposes, maintained by
ChatHistory.record(ChatChannel, UserMessage, Name...),
ChatHistory.get(Name), and ChatHistory.clear(Name).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channel
public final ChatChannel channel
- The channel on which the message was sent, of null if the channel manager was not
used.
message
public final ChatMessage message
- The message sent.
ChatHistory.Entry
public ChatHistory.Entry(ChatChannel channel,
ChatMessage message)
writeObject
public void writeObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
readObject
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException