public class SceneMoveAdapter extends Object implements SceneService.SceneMoveListener
SceneService.SceneMoveListener.| Constructor and Description |
|---|
SceneMoveAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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 scene.
|
void |
moveSucceeded(int placeId,
com.threerings.crowd.data.PlaceConfig config)
Indicates that a move succeeded.
|
void |
moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneModel model)
Indicates that a move succeeded and that the client's cached scene information should be
updated with the supplied data.
|
void |
moveSucceededWithUpdates(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneUpdate[] updates)
Indicates that a move succeeded and that the client's cached scene information should be
updated with the supplied data.
|
void |
requestFailed(String cause) |
public void moveSucceeded(int placeId,
com.threerings.crowd.data.PlaceConfig config)
SceneService.SceneMoveListenermoveSucceeded in interface SceneService.SceneMoveListenerplaceId - the place object id of the newly occupied scene.config - metadata related to the newly occupied scene.public void moveSucceededWithUpdates(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneUpdate[] updates)
SceneService.SceneMoveListenermoveSucceededWithUpdates in interface SceneService.SceneMoveListenerplaceId - the place object id of the newly occupied scene.config - metadata related to the newly occupied scene.updates - updates that must be applied to the client's copy of a scene model to
bring it up to date.public void moveSucceededWithScene(int placeId,
com.threerings.crowd.data.PlaceConfig config,
SceneModel model)
SceneService.SceneMoveListenermoveSucceededWithScene in interface SceneService.SceneMoveListenerplaceId - the place object id of the newly occupied scene.config - metadata related to the newly occupied scene.model - a fresh copy of the most recent scene data for the newly occupied scene.public void moveRequiresServerSwitch(String hostname, int[] ports)
SceneService.SceneMoveListenermoveRequiresServerSwitch in interface SceneService.SceneMoveListenerpublic void requestFailed(String cause)
requestFailed in interface com.threerings.presents.client.InvocationService.InvocationListenerCopyright © 2015. All rights reserved.