Uses of Interface
org.red5.server.api.IConnection
Package
Description
-
Uses of IConnection in io.antmedia.console
Modifier and TypeMethodDescriptionboolean
AdminApplication.connect
(IConnection conn, IScope scope, Object[] params) Returns connection result for given scope and parameters.void
AdminApplication.disconnect
(IConnection conn, IScope scope) Returns disconnection result for given scope and parameters. -
Uses of IConnection in io.antmedia.muxer
Modifier and TypeMethodDescriptionboolean
MuxAdaptor.init
(IConnection conn, String name, boolean isAppend) -
Uses of IConnection in io.antmedia.security
-
Uses of IConnection in org.red5.server
Modifier and TypeFieldDescriptionprivate IConnection
Server.ConnectedJob.conn
private IConnection
Server.DisconnectedJob.conn
Modifier and TypeFieldDescriptionprotected CopyOnWriteArraySet<IConnection>
Client.connections
Connections this client is associated with.Modifier and TypeMethodDescriptionClient.getConnections()
Return set of connections for this clientClient.getConnections
(IScope scope) Return client connections to given scopeModifier and TypeMethodDescriptionboolean
CoreHandler.connect
(IConnection conn, IScope scope) Connects client to the scopeboolean
CoreHandler.connect
(IConnection conn, IScope scope, Object[] params) Connects client to the scopevoid
CoreHandler.disconnect
(IConnection conn, IScope scope) Called just after the a connection is disconnected.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 clientboolean
CoreHandler.serviceCall
(IConnection conn, IServiceCall call) Remote method invocationvoid
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 connectionprotected void
Client.unregister
(IConnection conn, boolean deleteIfNoConns) Removes client-connection association for given connectionModifierConstructorDescription(package private)
ConnectedJob
(IConnection conn) (package private)
DisconnectedJob
(IConnection conn) -
Uses of IConnection in org.red5.server.adapter
Modifier and TypeMethodDescriptionStatefulScopeWrappingAdapter.getConnections()
Returns all connections in the scopeStatefulScopeWrappingAdapter.lookupConnections
(IClient client) Returns all connections for a given clientModifier and TypeMethodDescriptionboolean
ApplicationLifecycle.appConnect
(IConnection conn, Object[] params) boolean
IApplication.appConnect
(IConnection conn, Object[] params) Called per each client connectboolean
MultiThreadedApplicationAdapter.appConnect
(IConnection conn, Object[] params) Handler method.void
ApplicationLifecycle.appDisconnect
(IConnection conn) void
IApplication.appDisconnect
(IConnection conn) Called every time client disconnects from the applicationvoid
MultiThreadedApplicationAdapter.appDisconnect
(IConnection conn) Handler method.boolean
AbstractScopeAdapter.connect
(IConnection conn, IScope scope, Object[] params) Called just before every connection to a scope.boolean
ApplicationAdapter.connect
(IConnection conn, IScope scope, Object[] params) Returns connection result for given scope and parameters.boolean
MultiThreadedApplicationAdapter.connect
(IConnection conn) Returns connection result for given scope and parameters.boolean
MultiThreadedApplicationAdapter.connect
(IConnection conn, IScope scope, Object[] params) Returns connection result for given scope and parameters.void
AbstractScopeAdapter.disconnect
(IConnection conn, IScope scope) Called just after the a connection is disconnected.void
ApplicationAdapter.disconnect
(IConnection conn, IScope scope) Returns disconnection result for given scope and parameters.void
MultiThreadedApplicationAdapter.disconnect
(IConnection conn, IScope scope) Returns disconnection result for given scope and parameters.void
MultiThreadedApplicationAdapter.measureBandwidth
(IConnection conn) Try to measure bandwidth of given connection.boolean
ApplicationLifecycle.roomConnect
(IConnection conn, Object[] params) boolean
IApplication.roomConnect
(IConnection conn, Object[] params) Called every time client connects to the roomboolean
MultiThreadedApplicationAdapter.roomConnect
(IConnection conn, Object[] params) Handler method.void
ApplicationLifecycle.roomDisconnect
(IConnection conn) void
IApplication.roomDisconnect
(IConnection conn) Called when client disconnects from room scopevoid
MultiThreadedApplicationAdapter.roomDisconnect
(IConnection conn) Handler method.boolean
AbstractScopeAdapter.serviceCall
(IConnection conn, IServiceCall call) Called when a service is called. -
Uses of IConnection in org.red5.server.api
Modifier and TypeFieldDescriptionprivate static final ThreadLocal<WeakReference<IConnection>>
Red5.connThreadLocal
Connection associated with the current thread.Modifier and TypeMethodDescriptionRed5.getConnection()
Get the connection object.static IConnection
Red5.getConnectionLocal()
Get the connection associated with the current thread.Modifier and TypeMethodDescriptionIClient.getConnections()
Get a set of connections.IClient.getConnections
(IScope scope) Get a set of connections of a given scope.Modifier and TypeMethodDescriptionIClient.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 connectionvoid
IClient.setPermissions
(IConnection conn, Collection<String> permissions) Set the permissions for this client in a given context.ModifierConstructorDescriptionRed5
(IConnection conn) Create a new Red5 object using given connection. -
Uses of IConnection in org.red5.server.api.listeners
Modifier and TypeMethodDescriptionvoid
IConnectionListener.notifyConnected
(IConnection conn) A new connection was established.void
IConnectionListener.notifyDisconnected
(IConnection conn) A connection was disconnected. -
Uses of IConnection in org.red5.server.api.remoting
Modifier and TypeInterfaceDescriptioninterface
Connection coming from Remoting clients. -
Uses of IConnection in org.red5.server.api.scope
Modifier and TypeMethodDescriptionIScope.lookupConnection
(IClient client) Lookup connection for a given client.Modifier and TypeMethodDescriptionIScope.getClientConnections()
Get all current connections.IScope.getConnections()
Deprecated.IScope.lookupConnections
(IClient client) Deprecated.UseIScope.lookupConnection(IClient)
insteadModifier and TypeMethodDescriptionboolean
IScopeSecurityHandler.allowed
(IConnection conn) Determines whether or not a given connection is allowed.boolean
IScope.connect
(IConnection conn) Adds given connection to the scopeboolean
IScope.connect
(IConnection conn, Object[] params) Add given connection to the scope, overloaded for parameters pass case.boolean
IScopeHandler.connect
(IConnection conn, IScope scope, Object[] params) Called just before every connection to a scope.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. -
Uses of IConnection in org.red5.server.api.service
Modifier and TypeInterfaceDescriptioninterface
Connection that has options to invoke and handle remote callsModifier and TypeMethodDescriptionstatic boolean
ServiceUtils.invokeOnConnection
(IConnection conn, String method, Object[] params) Invoke a method on a given connection.static boolean
ServiceUtils.invokeOnConnection
(IConnection conn, String method, Object[] params, IPendingServiceCallback callback) Invoke a method on a given connection and handle result.static boolean
ServiceUtils.notifyOnConnection
(IConnection conn, String method, Object[] params) Notify a method on a given connection. -
Uses of IConnection in org.red5.server.api.stream
Modifier and TypeInterfaceDescriptioninterface
A connection that supports streaming.Modifier and TypeMethodDescriptionvoid
IStreamService.closeStream
(IConnection connection, Number streamId) Close the stream but not deallocate the resources. -
Uses of IConnection in org.red5.server.jmx.mxbeans
Modifier and TypeMethodDescriptionboolean
ApplicationMXBean.appConnect
(IConnection conn, Object[] params) void
ApplicationMXBean.appDisconnect
(IConnection conn) boolean
CoreHandlerMXBean.connect
(IConnection conn, IScope scope) boolean
CoreHandlerMXBean.connect
(IConnection conn, IScope scope, Object[] params) void
CoreHandlerMXBean.disconnect
(IConnection conn, IScope scope) boolean
ApplicationMXBean.roomConnect
(IConnection conn, Object[] params) void
ApplicationMXBean.roomDisconnect
(IConnection conn) boolean
CoreHandlerMXBean.serviceCall
(IConnection conn, IServiceCall call) -
Uses of IConnection in org.red5.server.net
Modifier and TypeMethodDescriptionboolean
IConnectionEventQueue.hasEventsWaiting
(IConnection conn) Whether queue has waiting connection eventsIConnectionEventQueue.pickupEvents
(IConnection conn) Return iterator over waiting events -
Uses of IConnection in org.red5.server.net.rtmp
Modifier and TypeClassDescriptionclass
RTMP connection.class
Represents an RTMP connection using Mina. -
Uses of IConnection in org.red5.server.scope
Modifier and TypeMethodDescriptionScope.lookupConnection
(IClient client) Lookup connection for a given client.Modifier and TypeMethodDescriptionScope.getClientConnections()
Get all current connections.Scope.getConnections()
Deprecated.Scope.lookupConnections
(IClient client) Deprecated.Modifier and TypeMethodDescriptionboolean
ScopeSecurityHandler.allowed
(IConnection conn) boolean
Scope.connect
(IConnection conn) Connect to scopeboolean
Scope.connect
(IConnection conn, Object[] params) Connect to scope with parameters.void
Scope.disconnect
(IConnection conn) Disconnect connection from scopeboolean
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. -
Uses of IConnection in org.red5.server.stream
Modifier and TypeFieldDescription(package private) IConnection
PlaylistSubscriberStream.Notifier.conn
(package private) IConnection
SingleItemSubscriberStream.Notifier.conn
Modifier and TypeMethodDescriptionvoid
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
StreamService.sendNSFailed
(IConnection conn, String errorCode, String description, String name, Number streamId) Send NetStream.Play.Failed to the client.private void
StreamService.sendNSStatus
(IConnection conn, String statusCode, String description, String name, Number streamId) Send NetStream.Status to the client.void
PlaylistSubscriberStream.Notifier.setConnection
(IConnection conn) void
SingleItemSubscriberStream.Notifier.setConnection
(IConnection conn) -
Uses of IConnection in org.red5.server.stream.bandwidth
Modifier and TypeMethodDescriptionvoid
IBandwidthDetection.calculateClientBw
(IConnection conn) void
ServerClientDetection.calculateClientBw
(IConnection conn) void
IBandwidthDetection.checkBandwidth
(IConnection conn) void
ServerClientDetection.checkBandwidth
(IConnection conn)
IScope.getClientConnections()
instead