|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IClientRegistry
Provides a registry of client objects. You can lookup a client by its client id / session id using lookupClient method. This interface implementations also create new client objects from given params, usually passed from client-side Flex/Flash application upon initial connection.
| Method Summary | |
|---|---|
boolean |
hasClient(String id)
Check if a client with a given id exists. |
IClient |
lookupClient(String id)
Return an existing client from a client id. |
IClient |
newClient(Object[] params)
Create a new client client object from connection params. |
| Method Detail |
|---|
boolean hasClient(String id)
id - the id of the client to check for
true if the client exists, false otherwise
IClient newClient(Object[] params)
throws ClientNotFoundException,
ClientRejectedException
params - the parameters the client passed during connection
ClientNotFoundException - no client could be created from the passed parameters
ClientRejectedException - the client is not allowed to connect
IClient lookupClient(String id)
throws ClientNotFoundException
id - the id of the client to return
ClientNotFoundException - no client with the passed id exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||