|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.whirled.client.SceneMoveAdapter
public class SceneMoveAdapter
A useful base class for implementing part of a SceneService.SceneMoveListener.
| Constructor Summary | |
|---|---|
SceneMoveAdapter()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SceneMoveAdapter()
| Method Detail |
|---|
public void moveSucceeded(int placeId,
com.threerings.crowd.data.PlaceConfig config)
SceneService.SceneMoveListener
moveSucceeded 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.SceneMoveListener
moveSucceededWithUpdates 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.SceneMoveListener
moveSucceededWithScene 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.SceneMoveListener
moveRequiresServerSwitch in interface SceneService.SceneMoveListenerpublic void requestFailed(String cause)
requestFailed in interface com.threerings.presents.client.InvocationService.InvocationListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||