com.threerings.crowd.chat.data
Class SpeakMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller<ClientObject>
com.threerings.crowd.chat.data.SpeakMarshaller
- All Implemented Interfaces:
- SpeakService, Streamable, InvocationService<ClientObject>
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from SpeakService.java.")
public class SpeakMarshaller- extends InvocationMarshaller<ClientObject>
- implements SpeakService
Provides the implementation of the SpeakService interface
that marshalls the arguments and delivers the request to the provider
on the server. Also provides an implementation of the response listener
interfaces that marshall the response arguments and deliver them back
to the requesting client.
|
Method Summary |
void |
speak(String arg1,
byte arg2)
Issues a request to speak "on" the distributed object via which
this speak service was provided. |
SPEAK
public static final int SPEAK
- The method id used to dispatch
speak(java.lang.String, byte) requests.
- See Also:
- Constant Field Values
SpeakMarshaller
public SpeakMarshaller()
speak
public void speak(String arg1,
byte arg2)
- Description copied from interface:
SpeakService
- Issues a request to speak "on" the distributed object via which
this speak service was provided.
- Specified by:
speak in interface SpeakService
- Parameters:
arg1 - the message to be spoken.arg2 - 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.