public interface IClientRegistry
Modifier and Type | Method and Description |
---|---|
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.
|
boolean hasClient(String id)
id
- the id of the client to check fortrue
if the client exists, false
otherwiseIClient newClient(Object[] params) throws ClientNotFoundException, ClientRejectedException
params
- the parameters the client passed during connectionClientNotFoundException
- no client could be created from the passed parametersClientRejectedException
- the client is not allowed to connectIClient lookupClient(String id) throws ClientNotFoundException
id
- the id of the client to returnClientNotFoundException
- no client with the passed id existsCopyright © 2006-2012 The Red5 Project