|
||||||||||
| 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.zone.data.ZoneMarshaller.ZoneMoveMarshaller
public static class ZoneMarshaller.ZoneMoveMarshaller
Marshalls results to implementations of ZoneService.ZoneMoveListener.
| 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, com.threerings.whirled.zone.data.ZoneSummary)
responses. |
static int |
MOVE_SUCCEEDED_WITH_SCENE
The method id used to dispatch moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.zone.data.ZoneSummary, 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.zone.data.ZoneSummary, com.threerings.whirled.data.SceneUpdate[])
responses. |
| Fields inherited from class com.threerings.presents.data.InvocationMarshaller.ListenerMarshaller |
|---|
callerOid, listener, mapStamp, omgr, REQUEST_FAILED_RSPID, requestId, transport |
| Constructor Summary | |
|---|---|
ZoneMarshaller.ZoneMoveMarshaller()
|
|
| 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 zone. |
void |
moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3)
Called in response to a successful ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request. |
void |
moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3,
SceneModel arg4)
Called in response to a successful ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request when our cached
scene was out of date and the server determined that we needed an updated copy. |
void |
moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3,
SceneUpdate[] arg4)
Called in response to a successful ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request when our cached
scene was out of date and the server determined that we needed some updates. |
| 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, com.threerings.whirled.zone.data.ZoneSummary)
responses.
public static final int MOVE_SUCCEEDED_WITH_SCENE
moveSucceededWithScene(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.zone.data.ZoneSummary, com.threerings.whirled.data.SceneModel)
responses.
public static final int MOVE_SUCCEEDED_WITH_UPDATES
moveSucceededWithUpdates(int, com.threerings.crowd.data.PlaceConfig, com.threerings.whirled.zone.data.ZoneSummary, com.threerings.whirled.data.SceneUpdate[])
responses.
| Constructor Detail |
|---|
public ZoneMarshaller.ZoneMoveMarshaller()
| Method Detail |
|---|
public void moveRequiresServerSwitch(String arg1,
int[] arg2)
ZoneService.ZoneMoveListener
moveRequiresServerSwitch in interface ZoneService.ZoneMoveListener
public void moveSucceeded(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3)
ZoneService.ZoneMoveListenerZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request.
moveSucceeded in interface ZoneService.ZoneMoveListener
public void moveSucceededWithScene(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3,
SceneModel arg4)
ZoneService.ZoneMoveListenerZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request when our cached
scene was out of date and the server determined that we needed an updated copy.
moveSucceededWithScene in interface ZoneService.ZoneMoveListener
public void moveSucceededWithUpdates(int arg1,
com.threerings.crowd.data.PlaceConfig arg2,
ZoneSummary arg3,
SceneUpdate[] arg4)
ZoneService.ZoneMoveListenerZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener) request when our cached
scene was out of date and the server determined that we needed some updates.
moveSucceededWithUpdates in interface ZoneService.ZoneMoveListener
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 | |||||||||