|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
com.threerings.whirled.spot.data.SpotMarshaller.SpotSceneMoveMarshaller
public static class SpotMarshaller.SpotSceneMoveMarshaller
Marshalls results to implementations of SpotService.SpotSceneMoveListener.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
static int |
MOVE_REQUIRES_SERVER_SWITCH
The method id used to dispatch moveRequiresServerSwitch(java.lang.String, int[])
responses. |
static int |
MOVE_SUCCEEDED
The method id used to dispatch moveSucceeded(int, com.threerings.crowd.data.PlaceConfig)
responses. |
static int |
MOVE_SUCCEEDED_WITH_SCENE
The method id used to dispatch moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneModel)
responses. |
static int |
MOVE_SUCCEEDED_WITH_UPDATES
The method id used to dispatch moveSucceededWithUpdates(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneUpdate[])
responses. |
static int |
REQUEST_CANCELLED
The method id used to dispatch requestCancelled()
responses. |
| Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller |
|---|
callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport |
| Constructor Summary | |
|---|---|
SpotMarshaller.SpotSceneMoveMarshaller()
|
|
| Method Summary | |
|---|---|
void |
dispatchResponse(int methodId,
Object[] args)
|
void |
moveRequiresServerSwitch(String arg1,
int[] arg2)
Indicates that the client must switch to the specified server and reissue its move request in order to relocate to its desired scene. |
void |
moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2)
Indicates that a move succeeded. |
void |
moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3)
Indicates that a move succeeded and that the client's cached scene information should be updated with the supplied data. |
void |
moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneUpdate[] arg3)
Indicates that a move succeeded and that the client's cached scene information should be updated with the supplied data. |
void |
requestCancelled()
The request is not going through because it was cancelled due to some other action. |
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller |
|---|
requestFailed, setInvocationId, setNoResponse, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.threerings.presents.client.InvocationService.InvocationListener |
|---|
requestFailed |
| Field Detail |
|---|
public static final int MOVE_REQUIRES_SERVER_SWITCH
moveRequiresServerSwitch(java.lang.String, int[])
responses.
public static final int MOVE_SUCCEEDED
moveSucceeded(int, com.threerings.crowd.data.PlaceConfig)
responses.
public static final int MOVE_SUCCEEDED_WITH_SCENE
moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneModel)
responses.
public static final int MOVE_SUCCEEDED_WITH_UPDATES
moveSucceededWithUpdates(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.data.SceneUpdate[])
responses.
public static final int REQUEST_CANCELLED
requestCancelled()
responses.
| Constructor Detail |
|---|
public SpotMarshaller.SpotSceneMoveMarshaller()
| Method Detail |
|---|
public void moveRequiresServerSwitch(String arg1,
int[] arg2)
SceneService.SceneMoveListener
moveRequiresServerSwitch in interface SceneService.SceneMoveListener
public void moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2)
SceneService.SceneMoveListener
moveSucceeded in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.
public void moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneModel arg3)
SceneService.SceneMoveListener
moveSucceededWithScene in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.arg3 - a fresh copy of the most recent scene data for the newly occupied scene.
public void moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
SceneUpdate[] arg3)
SceneService.SceneMoveListener
moveSucceededWithUpdates in interface SceneService.SceneMoveListenerarg1 - the place object id of the newly occupied scene.arg2 - metadata related to the newly occupied scene.arg3 - updates that must be applied to the client's copy of a scene model to
bring it up to date.public void requestCancelled()
SpotService.SpotSceneMoveListener
requestCancelled in interface SpotService.SpotSceneMoveListener
public void dispatchResponse(int methodId,
Object[] args)
dispatchResponse in class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||