|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ZoneObserver
The zone observer interface makes it possible for entities to be notified when the client moves to a new zone.
| Method Summary | |
|---|---|
void |
zoneChangeFailed(String reason)
This is called on all zone observers when a zone change request is rejected by the server or fails for some other reason. |
void |
zoneDidChange(ZoneSummary summary)
Called when we have switched to a new zone. |
void |
zoneWillChange(int zoneId)
Called when we begin the process of switching to a new zone. |
| Method Detail |
|---|
void zoneWillChange(int zoneId)
zoneDidChange(com.threerings.whirled.zone.data.ZoneSummary) to indicate
that the change was successful or zoneChangeFailed(java.lang.String) if the
change fails.
zoneId - the zone id of the zone to which we are changing.void zoneDidChange(ZoneSummary summary)
summary - the summary information for the new zone or null if
we have switched to no zone.void zoneChangeFailed(String reason)
reason - the reason code that explains why the zone change
request was rejected or otherwise failed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||