com.threerings.crowd.chat.server
Interface ChatProvider.ChatForwarder

All Known Implementing Classes:
CrowdPeerManager
Enclosing class:
ChatProvider

public static interface ChatProvider.ChatForwarder

Used to forward certain types of chat messages between servers in a multi-server setup.


Method Summary
 void forwardBroadcast(Name from, byte levelOrMode, String bundle, String msg)
          Requests that the supplied broadcast message be delivered on other servers.
 boolean forwardTell(UserMessage message, Name target, ChatService.TellListener listener)
          Requests that the supplied tell message be delivered to the appropriate destination.
 

Method Detail

forwardTell

boolean forwardTell(UserMessage message,
                    Name target,
                    ChatService.TellListener listener)
Requests that the supplied tell message be delivered to the appropriate destination.

Returns:
true if the tell was delivered, false otherwise.

forwardBroadcast

void forwardBroadcast(Name from,
                      byte levelOrMode,
                      String bundle,
                      String msg)
Requests that the supplied broadcast message be delivered on other servers.