com.threerings.crowd.chat.client
Interface SpeakService

All Superinterfaces:
InvocationService
All Known Implementing Classes:
SpeakMarshaller

public interface SpeakService
extends InvocationService

Provides a means by which "speaking" can be allowed among subscribers of a particular distributed object.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener
 
Method Summary
 void speak(Client client, String message, byte mode)
          Issues a request to speak "on" the distributed object via which this speak service was provided.
 

Method Detail

speak

void speak(Client client,
           String message,
           byte mode)
Issues a request to speak "on" the distributed object via which this speak service was provided.

Parameters:
message - the message to be spoken.
mode - the "mode" of the message. This is an opaque value that will be passed back down via the ChatDirector to the ChatDisplay implementations which can interpret it in an application specific manner. It's useful for differentiating between regular speech, emotes, etc.