@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from SpeakService.java.")
public class SpeakMarshaller
extends InvocationMarshaller<ClientObject>
implements SpeakService
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.InvocationMarshaller.ConfirmMarshaller, InvocationMarshaller.ListenerMarshaller, InvocationMarshaller.ResultMarshallerInvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListenerStreamable.Closure| Modifier and Type | Field and Description |
|---|---|
static int |
SPEAK
The method id used to dispatch
speak(java.lang.String, byte) requests. |
| Constructor and Description |
|---|
SpeakMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
speak(String arg1,
byte arg2)
Issues a request to speak "on" the distributed object via which
this speak service was provided.
|
getInvocationCode, init, readObject, setInvocationOid, setNoResponse, toStringpublic static final int SPEAK
speak(java.lang.String, byte) requests.public void speak(String arg1, byte arg2)
SpeakServicespeak in interface SpeakServicearg1 - 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.Copyright © 2015. All rights reserved.