|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientAppManager
Notify the router of events, and provide methods for client apps to find each other.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void 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-null
void unregister(ClientApp app)
app - non-nullClientApp getRegisteredApp(String name)
name - non-null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||