public class ZoneAdapter extends Object implements ZoneObserver
ZoneObserver| Constructor and Description |
|---|
ZoneAdapter() |
| 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.
|
public void zoneWillChange(int zoneId)
ZoneObserverZoneObserver.zoneDidChange(com.threerings.whirled.zone.data.ZoneSummary) to indicate
that the change was successful or ZoneObserver.zoneChangeFailed(java.lang.String) if the
change fails.zoneWillChange in interface ZoneObserverzoneId - the zone id of the zone to which we are changing.public void zoneDidChange(ZoneSummary summary)
ZoneObserverzoneDidChange in interface ZoneObserversummary - the summary information for the new zone or null if
we have switched to no zone.public void zoneChangeFailed(String reason)
ZoneObserverzoneChangeFailed in interface ZoneObserverreason - the reason code that explains why the zone change
request was rejected or otherwise failed.Copyright © 2015. All rights reserved.