@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from SpotService.java.")
public class SpotMarshaller
extends com.threerings.presents.data.InvocationMarshaller
implements SpotService
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.| Modifier and Type | Class and Description |
|---|---|
static class |
SpotMarshaller.SpotSceneMoveMarshaller
Marshalls results to implementations of
SpotService.SpotSceneMoveListener. |
com.threerings.presents.data.InvocationMarshaller.ConfirmMarshaller, com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller, com.threerings.presents.data.InvocationMarshaller.ResultMarshallerSpotService.SpotSceneMoveListener| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
SpotMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.public void changeLocation(int arg1,
Location arg2,
com.threerings.presents.client.InvocationService.ConfirmListener arg3)
SpotServicechangeLocation 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)
SpotServiceclusterSpeak 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)
SpotServicejoinCluster 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)
SpotServicetraversePortal 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.Copyright © 2015. All rights reserved.