public abstract class ChatChannelManager extends Object implements ChannelSpeakProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatChannelManager.ChatHistoryResult
Value asynchronously returned by
collectChatHistory(com.threerings.util.Name, com.samskivert.util.ResultListener<com.threerings.crowd.chat.server.ChatChannelManager.ChatHistoryResult>) after polling all peer nodes. |
| Modifier and Type | Method and Description |
|---|---|
void |
bodyAddedToChannel(ChatChannel channel,
int bodyId)
When a body becomes a member of a channel, this method should be called so that any server
that happens to be hosting that channel can be told that the body in question is now a
participant.
|
void |
bodyRemovedFromChannel(ChatChannel channel,
int bodyId)
When a body loses channel membership, this method should be called so that any server that
happens to be hosting that channel can be told that the body in question is now a
participant.
|
void |
collectChatHistory(Name user,
ResultListener<ChatChannelManager.ChatHistoryResult> lner)
Collects all chat messages heard by the given user on all peers.
|
void |
speak(ClientObject caller,
ChatChannel channel,
String message,
byte mode)
|
public void bodyAddedToChannel(ChatChannel channel, int bodyId)
public void bodyRemovedFromChannel(ChatChannel channel, int bodyId)
public void collectChatHistory(Name user, ResultListener<ChatChannelManager.ChatHistoryResult> lner)
public void speak(ClientObject caller, ChatChannel channel, String message, byte mode)
ChannelSpeakProviderChannelSpeakService.speak(com.threerings.crowd.chat.data.ChatChannel, java.lang.String, byte) request.speak in interface ChannelSpeakProviderCopyright © 2015. All rights reserved.