public interface IClientRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(IClient client)
Adds a client to the registry.
|
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 fortrueif the client exists,
falseotherwise
IClient 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 existsvoid addClient(IClient client)
client - clientCopyright © 2005–2017 Red5. All rights reserved.