| Package | Description |
|---|---|
| org.red5.server | |
| org.red5.server.adapter | |
| org.red5.server.api | |
| org.red5.server.api.scope | |
| org.red5.server.scope |
| Modifier and Type | Class and Description |
|---|---|
class |
Client
Client is an abstraction representing user connected to Red5 application.
|
| Modifier and Type | Field and Description |
|---|---|
protected IClient |
BaseConnection.client
Client bound to connection
|
| Modifier and Type | Method and Description |
|---|---|
IClient |
BaseConnection.getClient()
Get the client object associated with this connection.
|
IClient |
ClientRegistry.lookupClient(String id)
Return client by id
|
IClient |
ClientRegistry.newClient(Object[] params)
Return client from next id with given params
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<IClient> |
ClientRegistry.getClients()
Return collection of clients
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientRegistry.addClient(IClient client)
Add client to registry
|
void |
BaseConnection.initialize(IClient client)
Initializes client
|
protected void |
ClientRegistry.removeClient(IClient client)
Removes client from registry
|
void |
BaseConnection.setClient(IClient client)
Sets the Client.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IClient> |
StatefulScopeWrappingAdapter.getClients()
Getter for set of clients
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IApplication.appJoin(IClient client,
IScope app)
Called every time client joins app level scope
|
void |
IApplication.appLeave(IClient client,
IScope app)
Called every time client leaves the application scope
|
boolean |
AbstractScopeAdapter.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
void |
AbstractScopeAdapter.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
Set<IConnection> |
StatefulScopeWrappingAdapter.lookupConnections(IClient client)
Returns all connections for a given client
|
boolean |
IApplication.roomJoin(IClient client,
IScope room)
Called when user joins room scope
|
void |
IApplication.roomLeave(IClient client,
IScope room)
Called when user leaves room scope
|
| Modifier and Type | Method and Description |
|---|---|
IClient |
IConnection.getClient()
Get the client object associated with this connection.
|
IClient |
Red5.getClient()
Get the client
|
IClient |
IClientRegistry.lookupClient(String id)
Return an existing client from a client id.
|
IClient |
IClientRegistry.newClient(Object[] params)
Create a new client client object from connection params.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IClientRegistry.addClient(IClient client)
Adds a client to the registry.
|
void |
IConnection.initialize(IClient client)
Initialize the connection.
|
void |
IConnection.setClient(IClient client)
Sets the Client.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IClient> |
IScope.getClients()
Get a set of connected clients.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IScopeHandler.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
void |
IScopeHandler.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
IConnection |
IScope.lookupConnection(IClient client)
Lookup connection for a given client.
|
Set<IConnection> |
IScope.lookupConnections(IClient client)
Deprecated.
Use
IScope.lookupConnection(IClient) instead |
| Modifier and Type | Method and Description |
|---|---|
Set<IClient> |
Scope.getClients()
Return set of clients
|
| Modifier and Type | Method and Description |
|---|---|
IConnection |
Scope.lookupConnection(IClient client)
Lookup connection for a given client.
|
Set<IConnection> |
Scope.lookupConnections(IClient client)
Deprecated.
|
Copyright © 2005–2017 Red5. All rights reserved.