|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface PresentsSession.UserChangeListener
Used by PresentsSession.setUsername(com.threerings.util.Name, com.threerings.presents.server.PresentsSession.UserChangeListener) to report success or failure.
| Method Summary | |
|---|---|
void |
changeCompleted(ClientObject newObj)
Called when the user change is completed, the old client object is destroyed and all updates are committed. |
void |
changeFailed(Exception cause)
Called if some failure occurs during the user change process. |
void |
changeReported(ClientObject newObji,
ResultListener<Void> rl)
Called when the new client object has been resolved and the new client object reported to the client, but the old one has not yet been destroyed. |
| Method Detail |
|---|
void changeReported(ClientObject newObji,
ResultListener<Void> rl)
rl - when this method is finished with its business and the old client object can
be destroyed, the result listener should be called.void changeCompleted(ClientObject newObj)
void changeFailed(Exception cause)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||