public interface ZoneObserver
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2015. All rights reserved.