public interface ClientAppManager
| Modifier and Type | Method and Description |
|---|---|
ClientApp |
getRegisteredApp(String name)
Get a registered app.
|
void |
notify(ClientApp app,
ClientAppState state,
String message,
Exception e)
Must be called on all state transitions except
from UNINITIALIZED to INITIALIZED.
|
boolean |
register(ClientApp app)
Register with the manager under the given name,
so that other clients may find it.
|
void |
unregister(ClientApp app)
Unregister with the manager.
|
ClientApp getRegisteredApp(String name)
name - non-nullvoid notify(ClientApp app, ClientAppState state, String message, Exception e)
app - non-nullstate - non-nullmessage - may be nulle - may be nullboolean register(ClientApp app)
app - non-nullvoid unregister(ClientApp app)
app - non-null