com.threerings.whirled.zone.client

## Interface ZoneService.ZoneMoveListener

All Superinterfaces:
  com.threerings.presents.client.InvocationService.InvocationListener

All Known Implementing Classes:
  ZoneDirector, ZoneMarshaller.ZoneMoveMarshaller

Enclosing interface:
  ZoneService

    public static interface ZoneService.ZoneMoveListener
    extends com.threerings.presents.client.InvocationService.InvocationListener

Used to deliver responses to `ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener)` requests.

### Method Summary

All Methods Instance Methods Abstract Methods
`void` `moveRequiresServerSwitch(String hostname, int[] ports)` 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 placeId, com.threerings.crowd.data.PlaceConfig config, ZoneSummary summary)` Called in response to a successful `ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener)` request.
`void` `moveSucceededWithScene(int placeId, com.threerings.crowd.data.PlaceConfig config, ZoneSummary summary, SceneModel model)` 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 placeId, com.threerings.crowd.data.PlaceConfig config, ZoneSummary summary, SceneUpdate[] updates)` 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 interface com.threerings.presents.client.InvocationService.InvocationListener

`requestFailed`

### Method Detail

#### moveSucceeded

    void moveSucceeded(int placeId,
                       com.threerings.crowd.data.PlaceConfig config,
                       ZoneSummary summary)

Called in response to a successful `ZoneService.moveTo(int, int, int, com.threerings.whirled.zone.client.ZoneService.ZoneMoveListener)` request.

#### moveSucceededWithUpdates

    void moveSucceededWithUpdates(int placeId,
                                  com.threerings.crowd.data.PlaceConfig config,
                                  ZoneSummary summary,
                                  SceneUpdate[] updates)

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.

#### moveSucceededWithScene

    void moveSucceededWithScene(int placeId,
                                com.threerings.crowd.data.PlaceConfig config,
                                ZoneSummary summary,
                                SceneModel model)

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.

#### moveRequiresServerSwitch

    void moveRequiresServerSwitch(String hostname,
                                  int[] ports)

Indicates that the client must switch to the specified server and reissue its move request in order to relocate to its desired zone.