| Modifier and Type | Class and Description |
|---|---|
class |
BaseConnection
Base abstract class for connections.
|
| Modifier and Type | Field and Description |
|---|---|
protected CopyOnWriteArraySet<IConnection> |
Client.connections
Connections this client is associated with.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IConnection> |
Client.getConnections()
Return set of connections for this client
|
Set<IConnection> |
Client.getConnections(IScope scope)
Return client connections to given scope
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
Client.getPermissions(IConnection conn)
Return the permissions in a given context.
|
boolean |
Client.hasPermission(IConnection conn,
String permissionName)
Check if the client has a permission in the given context.
|
boolean |
Client.isRegistered(IConnection conn)
Returns registration status of given connection.
|
void |
Server.notifyConnected(IConnection conn)
Notify listeners that a new connection was established.
|
void |
Server.notifyDisconnected(IConnection conn)
Notify listeners that a connection was disconnected.
|
protected void |
Client.register(IConnection conn)
Associate connection with client
|
void |
Client.setPermissions(IConnection conn,
Collection<String> permissions)
Set the permissions for this client in a given context.
|
protected void |
Client.unregister(IConnection conn)
Removes client-connection association for given connection
|
protected void |
Client.unregister(IConnection conn,
boolean deleteIfNoConns)
Removes client-connection association for given connection
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Set<IConnection>> |
StatefulScopeWrappingAdapter.getConnections()
Returns all connections in the scope
|
Set<IConnection> |
StatefulScopeWrappingAdapter.lookupConnections(IClient client)
Returns all connections for a given client
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IApplication.appConnect(IConnection conn,
Object[] params)
Called per each client connect
|
void |
IApplication.appDisconnect(IConnection conn)
Called every time client disconnects from the application
|
boolean |
AbstractScopeAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope.
|
void |
AbstractScopeAdapter.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected.
|
boolean |
IApplication.roomConnect(IConnection conn,
Object[] params)
Called every time client connects to the room
|
void |
IApplication.roomDisconnect(IConnection conn)
Called when client disconnects from room scope
|
boolean |
AbstractScopeAdapter.serviceCall(IConnection conn,
IServiceCall call)
Called when a service is called.
|
| Modifier and Type | Field and Description |
|---|---|
IConnection |
Red5.conn
Connection local to the current thread
|
| Modifier and Type | Method and Description |
|---|---|
IConnection |
Red5.getConnection()
Get the connection object.
|
static IConnection |
Red5.getConnectionLocal()
Get the connection associated with the current thread.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IConnection> |
IClient.getConnections()
Get a set of connections.
|
Set<IConnection> |
IClient.getConnections(IScope scope)
Get a set of connections of a given scope.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
IClient.getPermissions(IConnection conn)
Return the permissions in a given context.
|
boolean |
IClient.hasPermission(IConnection conn,
String permissionName)
Check if the client has a permission in the given context.
|
static void |
Red5.setConnectionLocal(IConnection connection)
Setter for connection
|
void |
IClient.setPermissions(IConnection conn,
Collection<String> permissions)
Set the permissions for this client in a given context.
|
| Constructor and Description |
|---|
Red5(IConnection conn)
Create a new Red5 object using given connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IConnectionListener.notifyConnected(IConnection conn)
A new connection was established.
|
void |
IConnectionListener.notifyDisconnected(IConnection conn)
A connection was disconnected.
|
| Modifier and Type | Method and Description |
|---|---|
IConnection |
IScope.lookupConnection(IClient client)
Lookup connection for a given client.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IConnection> |
IScope.getClientConnections()
Get all current connections.
|
Collection<Set<IConnection>> |
IScope.getConnections()
Deprecated.
Use
IScope.getClientConnections() instead |
Set<IConnection> |
IScope.lookupConnections(IClient client)
Deprecated.
Use
IScope.lookupConnection(IClient) instead |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IScopeSecurityHandler.allowed(IConnection conn)
Determines whether or not a given connection is allowed.
|
boolean |
IScope.connect(IConnection conn)
Adds given connection to the scope
|
boolean |
IScopeHandler.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope.
|
boolean |
IScope.connect(IConnection conn,
Object[] params)
Add given connection to the scope, overloaded for parameters pass case.
|
void |
IScope.disconnect(IConnection conn)
Removes given connection from list of scope connections.
|
void |
IScopeHandler.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected.
|
boolean |
IBasicScope.isConnectionAllowed(IConnection conn)
Provides a means to allow a scope to perform processing on a connection prior to the actual
connection attempt or other handling.
|
boolean |
IScopeHandler.serviceCall(IConnection conn,
IServiceCall call)
Called when a service is called.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IServiceCapableConnection
Connection that has options to invoke and handle remote calls
|
| Modifier and Type | Method and Description |
|---|---|
void |
IClientSharedObject.connect(IConnection conn)
Connect the shared object using the passed connection.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IStreamCapableConnection
A connection that supports streaming.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IStreamService.closeStream(IConnection connection,
Number streamId)
Close the stream but not deallocate the resources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RTMPConnection
RTMP connection.
|
class |
RTMPMinaConnection
Represents an RTMP connection using Mina.
|
| Modifier and Type | Method and Description |
|---|---|
IConnection |
Scope.lookupConnection(IClient client)
Lookup connection for a given client.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IConnection> |
Scope.getClientConnections()
Get all current connections.
|
Collection<Set<IConnection>> |
Scope.getConnections()
Deprecated.
|
Set<IConnection> |
Scope.lookupConnections(IClient client)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ScopeSecurityHandler.allowed(IConnection conn) |
boolean |
Scope.connect(IConnection conn)
Connect to scope
|
boolean |
Scope.connect(IConnection conn,
Object[] params)
Connect to scope with parameters.
|
void |
Scope.disconnect(IConnection conn)
Disconnect connection from scope
|
boolean |
BasicScope.isConnectionAllowed(IConnection conn)
Provides a means to allow a scope to perform processing on a connection prior to the actual
connection attempt or other handling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientSharedObject.connect(IConnection conn)
Connect the shared object using the passed connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamService.closeStream(IConnection conn,
Number streamId)
Close stream.
|
boolean |
IRecordingListener.init(IConnection conn,
String name,
boolean isAppend)
Initialize the listener.
|
boolean |
RecordingListener.init(IConnection conn,
String name,
boolean isAppend)
Initialize the listener.
|
static void |
StreamService.sendNetStreamStatus(IConnection conn,
String statusCode,
String description,
String name,
String status,
Number streamId)
Send NetStream.Status to the client.
|
void |
SingleItemSubscriberStream.Notifier.setConnection(IConnection conn) |
void |
PlaylistSubscriberStream.Notifier.setConnection(IConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
IBandwidthDetection.calculateClientBw(IConnection conn) |
void |
ServerClientDetection.calculateClientBw(IConnection conn) |
void |
IBandwidthDetection.checkBandwidth(IConnection conn) |
void |
ServerClientDetection.checkBandwidth(IConnection conn) |
Copyright © 2005–2017 Red5. All rights reserved.