|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller
com.threerings.whirled.spot.data.SpotMarshaller
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from SpotService.java.")
public class SpotMarshaller
Provides the implementation of the SpotService 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.
| Nested Class Summary | |
|---|---|
static class |
SpotMarshaller.SpotSceneMoveMarshaller
Marshalls results to implementations of SpotService.SpotSceneMoveListener. |
| Nested classes/interfaces inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshaller |
| Nested classes/interfaces inherited from interface com.threerings.whirled.spot.client.SpotService |
|---|
SpotService.SpotSceneMoveListener |
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
com.threerings.presents.client.InvocationService.ConfirmListener, com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
static int |
CHANGE_LOCATION
The method id used to dispatch changeLocation(int, com.threerings.whirled.spot.data.Location, com.threerings.presents.client.InvocationService.ConfirmListener) requests. |
static int |
CLUSTER_SPEAK
The method id used to dispatch clusterSpeak(java.lang.String, byte) requests. |
static int |
JOIN_CLUSTER
The method id used to dispatch joinCluster(int, com.threerings.presents.client.InvocationService.ConfirmListener) requests. |
static int |
TRAVERSE_PORTAL
The method id used to dispatch traversePortal(int, int, int, com.threerings.whirled.spot.client.SpotService.SpotSceneMoveListener) requests. |
| Constructor Summary | |
|---|---|
SpotMarshaller()
|
|
| Method Summary | |
|---|---|
void |
changeLocation(int arg1,
Location arg2,
com.threerings.presents.client.InvocationService.ConfirmListener arg3)
Requests that this client's body be made to move to the specified location. |
void |
clusterSpeak(String arg1,
byte arg2)
Requests that the supplied message be delivered to listeners in the cluster to which the specified location belongs. |
void |
joinCluster(int arg1,
com.threerings.presents.client.InvocationService.ConfirmListener arg2)
Requests that this client start or join the specified cluster. |
void |
traversePortal(int arg1,
int arg2,
int arg3,
SpotService.SpotSceneMoveListener arg4)
Requests to traverse the specified portal. |
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
|---|
getInvocationCode, init, readField__invCode, readField__invOid, readObject, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CHANGE_LOCATION
changeLocation(int, com.threerings.whirled.spot.data.Location, com.threerings.presents.client.InvocationService.ConfirmListener) requests.
public static final int CLUSTER_SPEAK
clusterSpeak(java.lang.String, byte) requests.
public static final int JOIN_CLUSTER
joinCluster(int, com.threerings.presents.client.InvocationService.ConfirmListener) requests.
public static final int TRAVERSE_PORTAL
traversePortal(int, int, int, com.threerings.whirled.spot.client.SpotService.SpotSceneMoveListener) requests.
| Constructor Detail |
|---|
public SpotMarshaller()
| Method Detail |
|---|
public void changeLocation(int arg1,
Location arg2,
com.threerings.presents.client.InvocationService.ConfirmListener arg3)
SpotService
changeLocation in interface SpotServicearg1 - the id of the scene in which to change location.arg2 - the location to which to move.
public void clusterSpeak(String arg1,
byte arg2)
SpotService
clusterSpeak in interface SpotServicearg1 - the text of the message to be spoken.arg2 - an associated mode constant that can be used to
identify different kinds of "speech" (emote, thought bubble, etc.).
public void joinCluster(int arg1,
com.threerings.presents.client.InvocationService.ConfirmListener arg2)
SpotService
joinCluster in interface SpotServicearg1 - the bodyOid of another user or the oid of an
existing cluster; the calling user will be made to join the cluster
or target user's cluster, or create a cluster with the target user
if they are not already in one.
public void traversePortal(int arg1,
int arg2,
int arg3,
SpotService.SpotSceneMoveListener arg4)
SpotService
traversePortal in interface SpotServicearg1 - the player's current scene which is used to sanity
check things when the request actually arrives.arg2 - the portal to be traversed.arg3 - the version of the destination scene data that
the client has in its local repository.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||