public class ClientResolver extends Invoker.Unit
resolveClientData(com.threerings.presents.data.ClientObject), making the necessary database calls and populating the client object
appropriately.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientResolver.ClientDisconnectedException
Thrown during resolution if the client disconnects.
|
queueStamp| Constructor and Description |
|---|
ClientResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResolutionListener(ClientResolutionListener listener)
Adds a resolution listener to this active resolver.
|
ClientObject |
createClientObject()
Creates the
ClientObject derived class that should be created to kick off the
resolution process. |
ClientLocal |
createLocalAttribute()
Creates a record that will be maintained only on the server to track client related bits.
|
void |
handleResult() |
void |
init(Name username)
Initializes this instance.
|
boolean |
invoke() |
void |
objectAvailable(ClientObject object)
Called once our client object is registered with the distributed object system.
|
String |
toString() |
getDetail, getLongThreshold, runpublic void init(Name username)
username - the username of the user to be resolved.public void addResolutionListener(ClientResolutionListener listener)
public ClientObject createClientObject()
ClientObject derived class that should be created to kick off the
resolution process.public ClientLocal createLocalAttribute()
public void objectAvailable(ClientObject object)
public boolean invoke()
invoke in class Invoker.Unitpublic void handleResult()
handleResult in class Invoker.Unitpublic String toString()
toString in class Invoker.UnitCopyright © 2015. All rights reserved.