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() |
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 |
---|---|
protected void |
ClientRegistry.addClient(IClient client)
Add client to registry
|
void |
BaseConnection.initialize(IClient client)
Initializes client
|
boolean |
CoreHandler.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
void |
CoreHandler.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
protected void |
ClientRegistry.removeClient(IClient client)
Removes client from registry
|
Modifier and Type | Method and Description |
---|---|
Set<IClient> |
StatefulScopeWrappingAdapter.getClients()
Getter for set of clients
|
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationLifecycle.appJoin(IClient client,
IScope app) |
boolean |
IApplication.appJoin(IClient client,
IScope app)
Called every time client joins app level scope
|
boolean |
MultiThreadedApplicationAdapter.appJoin(IClient client,
IScope app) |
void |
ApplicationLifecycle.appLeave(IClient client,
IScope app) |
void |
IApplication.appLeave(IClient client,
IScope app)
Called every time client leaves the application scope
|
void |
MultiThreadedApplicationAdapter.appLeave(IClient client,
IScope app)
Handler method.
|
boolean |
AbstractScopeAdapter.join(IClient client,
IScope scope)
Called just before a client enters the scope.
|
boolean |
ApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope.
|
boolean |
MultiThreadedApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope.
|
void |
AbstractScopeAdapter.leave(IClient client,
IScope scope)
Called just after the client leaves the scope.
|
void |
ApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope.
|
void |
MultiThreadedApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope.
|
Set<IConnection> |
StatefulScopeWrappingAdapter.lookupConnections(IClient client) |
boolean |
ApplicationLifecycle.roomJoin(IClient client,
IScope room) |
boolean |
IApplication.roomJoin(IClient client,
IScope room)
Called when user joins room scope
|
boolean |
MultiThreadedApplicationAdapter.roomJoin(IClient client,
IScope room) |
void |
ApplicationLifecycle.roomLeave(IClient client,
IScope room) |
void |
IApplication.roomLeave(IClient client,
IScope room)
Called when user leaves room scope
|
void |
MultiThreadedApplicationAdapter.roomLeave(IClient client,
IScope room)
Handler method.
|
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 |
IConnection.initialize(IClient client)
Initialize the connection.
|
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.
|
Set<IConnection> |
IScope.lookupConnections(IClient client)
Lookup connections.
|
Modifier and Type | Method and Description |
---|---|
static void |
ServiceUtils.invokeOnClient(IClient client,
IScope scope,
String method,
Object[] params)
Invoke a method on all connections of a client to a given scope.
|
static void |
ServiceUtils.invokeOnClient(IClient client,
IScope scope,
String method,
Object[] params,
IPendingServiceCallback callback)
Invoke a method on all connections of a client to a given scope and
handle result.
|
static void |
ServiceUtils.notifyOnClient(IClient client,
IScope scope,
String method,
Object[] params)
Notify a method on all connections of a client to a given scope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ApplicationMXBean.appJoin(IClient client,
IScope app) |
void |
ApplicationMXBean.appLeave(IClient client,
IScope app) |
boolean |
CoreHandlerMXBean.join(IClient client,
IScope scope) |
void |
CoreHandlerMXBean.leave(IClient client,
IScope scope) |
boolean |
ApplicationMXBean.roomJoin(IClient client,
IScope room) |
void |
ApplicationMXBean.roomLeave(IClient client,
IScope room) |
Modifier and Type | Method and Description |
---|---|
IClient |
RemotingConnection.getClient()
Get the client object associated with this connection.
|
Modifier and Type | Method and Description |
---|---|
void |
RemotingConnection.initialize(IClient client)
Initialize the connection.
|
Modifier and Type | Method and Description |
---|---|
Set<IClient> |
Scope.getClients()
Return set of clients
|
Modifier and Type | Method and Description |
---|---|
Set<IConnection> |
Scope.lookupConnections(IClient client)
Looks up connections for client
|
Copyright © 2006-2012 The Red5 Project