Uses of Interface
org.red5.server.api.IConnection
Packages that use IConnection
Package
Description
-
Uses of IConnection in org.red5.server
Classes in org.red5.server that implement IConnectionFields in org.red5.server with type parameters of type IConnectionModifier and TypeFieldDescriptionprotected CopyOnWriteArraySet<IConnection> Client.connectionsConnections this client is associated with.Methods in org.red5.server that return types with arguments of type IConnectionModifier and TypeMethodDescriptionClient.getConnections()Return set of connections for this clientClient.getConnections(IScope scope) Return client connections to given scopeMethods in org.red5.server with parameters of type IConnectionModifier and TypeMethodDescriptionClient.getPermissions(IConnection conn) Return the permissions in a given context.booleanClient.hasPermission(IConnection conn, String permissionName) Check if the client has a permission in the given context.booleanClient.isRegistered(IConnection conn) Returns registration status of given connection.voidServer.notifyConnected(IConnection conn) Notify listeners that a new connection was established.voidServer.notifyDisconnected(IConnection conn) Notify listeners that a connection was disconnected.protected voidClient.register(IConnection conn) Associate connection with clientvoidClient.setPermissions(IConnection conn, Collection<String> permissions) Set the permissions for this client in a given context.protected voidClient.unregister(IConnection conn) Removes client-connection association for given connectionprotected voidClient.unregister(IConnection conn, boolean deleteIfNoConns) Removes client-connection association for given connection -
Uses of IConnection in org.red5.server.adapter
Methods in org.red5.server.adapter with parameters of type IConnectionModifier and TypeMethodDescriptionbooleanIApplication.appConnect(IConnection conn, Object[] params) Called per each client connectvoidIApplication.appDisconnect(IConnection conn) Called every time client disconnects from the applicationbooleanAbstractScopeAdapter.connect(IConnection conn, IScope scope, Object[] params) Called just before every connection to a scope.voidAbstractScopeAdapter.disconnect(IConnection conn, IScope scope) Called just after the a connection is disconnected.booleanIApplication.roomConnect(IConnection conn, Object[] params) Called every time client connects to the roomvoidIApplication.roomDisconnect(IConnection conn) Called when client disconnects from room scopebooleanAbstractScopeAdapter.serviceCall(IConnection conn, IServiceCall call) Called when a service is called. -
Uses of IConnection in org.red5.server.api
Fields in org.red5.server.api declared as IConnectionMethods in org.red5.server.api that return IConnectionModifier and TypeMethodDescriptionRed5.getConnection()Get the connection object.static IConnectionRed5.getConnectionLocal()Get the connection associated with the current thread.Methods in org.red5.server.api that return types with arguments of type IConnectionModifier and TypeMethodDescriptionIClient.getConnections()Get a set of connections.IClient.getConnections(IScope scope) Get a set of connections of a given scope.Methods in org.red5.server.api with parameters of type IConnectionModifier and TypeMethodDescriptionIClient.getPermissions(IConnection conn) Return the permissions in a given context.booleanIClient.hasPermission(IConnection conn, String permissionName) Check if the client has a permission in the given context.static voidRed5.setConnectionLocal(IConnection connection) Setter for connectionvoidIClient.setPermissions(IConnection conn, Collection<String> permissions) Set the permissions for this client in a given context.Constructors in org.red5.server.api with parameters of type IConnectionModifierConstructorDescriptionRed5(IConnection conn) Create a new Red5 object using given connection. -
Uses of IConnection in org.red5.server.api.listeners
Methods in org.red5.server.api.listeners with parameters of type IConnectionModifier and TypeMethodDescriptionabstract voidAbstractConnectionListener.notifyConnected(IConnection conn) voidIConnectionListener.notifyConnected(IConnection conn) A new connection was established.abstract voidAbstractConnectionListener.notifyDisconnected(IConnection conn) voidIConnectionListener.notifyDisconnected(IConnection conn) A connection was disconnected. -
Uses of IConnection in org.red5.server.api.scope
Methods in org.red5.server.api.scope that return IConnectionModifier and TypeMethodDescriptionIScope.lookupConnection(IClient client) Lookup connection for a given client.Methods in org.red5.server.api.scope that return types with arguments of type IConnectionModifier and TypeMethodDescriptionIScope.getClientConnections()Get all current connections.IScope.getConnections()Deprecated.IScope.lookupConnections(IClient client) Deprecated.UseIScope.lookupConnection(IClient)insteadMethods in org.red5.server.api.scope with parameters of type IConnectionModifier and TypeMethodDescriptionbooleanIScopeSecurityHandler.allowed(IConnection conn) Determines whether or not a given connection is allowed.booleanIScope.connect(IConnection conn) Adds given connection to the scopebooleanIScope.connect(IConnection conn, Object[] params) Add given connection to the scope, overloaded for parameters pass case.booleanIScopeHandler.connect(IConnection conn, IScope scope, Object[] params) Called just before every connection to a scope.voidIScope.disconnect(IConnection conn) Removes given connection from list of scope connections.voidIScopeHandler.disconnect(IConnection conn, IScope scope) Called just after the a connection is disconnected.booleanIBasicScope.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.booleanIScopeHandler.serviceCall(IConnection conn, IServiceCall call) Called when a service is called. -
Uses of IConnection in org.red5.server.api.service
Subinterfaces of IConnection in org.red5.server.api.serviceModifier and TypeInterfaceDescriptioninterfaceConnection that has options to invoke and handle remote callsMethods in org.red5.server.api.service with parameters of type IConnectionModifier and TypeMethodDescriptionstatic booleanServiceUtils.invokeOnConnection(IConnection conn, String method, Object[] params) Invoke a method on a given connection.static booleanServiceUtils.invokeOnConnection(IConnection conn, String method, Object[] params, IPendingServiceCallback callback) Invoke a method on a given connection and handle result.static booleanServiceUtils.notifyOnConnection(IConnection conn, String method, Object[] params) Notify a method on a given connection. -
Uses of IConnection in org.red5.server.api.so
Methods in org.red5.server.api.so with parameters of type IConnectionModifier and TypeMethodDescriptionvoidIClientSharedObject.connect(IConnection conn) Connect the shared object using the passed connection. -
Uses of IConnection in org.red5.server.api.stream
Subinterfaces of IConnection in org.red5.server.api.streamModifier and TypeInterfaceDescriptioninterfaceA connection that supports streaming.Methods in org.red5.server.api.stream with parameters of type IConnectionModifier and TypeMethodDescriptionvoidIStreamService.closeStream(IConnection connection, Number streamId) Close the stream but not deallocate the resources. -
Uses of IConnection in org.red5.server.jmx.mxbeans
Methods in org.red5.server.jmx.mxbeans with parameters of type IConnectionModifier and TypeMethodDescriptionbooleanApplicationMXBean.appConnect(IConnection conn, Object[] params) voidApplicationMXBean.appDisconnect(IConnection conn) booleanApplicationMXBean.roomConnect(IConnection conn, Object[] params) voidApplicationMXBean.roomDisconnect(IConnection conn) -
Uses of IConnection in org.red5.server.net.rtmp
Classes in org.red5.server.net.rtmp that implement IConnectionModifier and TypeClassDescriptionclassRTMP connection.classRepresents an RTMP connection using Mina. -
Uses of IConnection in org.red5.server.scope
Methods in org.red5.server.scope that return IConnectionModifier and TypeMethodDescriptionScope.lookupConnection(IClient client) Lookup connection for a given client.Methods in org.red5.server.scope that return types with arguments of type IConnectionModifier and TypeMethodDescriptionScope.getClientConnections()Get all current connections.Scope.getConnections()Deprecated.Scope.lookupConnections(IClient client) Deprecated.Methods in org.red5.server.scope with parameters of type IConnectionModifier and TypeMethodDescriptionbooleanScopeSecurityHandler.allowed(IConnection conn) booleanScope.connect(IConnection conn) Connect to scopebooleanScope.connect(IConnection conn, Object[] params) Connect to scope with parameters.voidScope.disconnect(IConnection conn) Disconnect connection from scopebooleanBasicScope.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.service
Methods in org.red5.server.service with parameters of type IConnectionModifier and TypeMethodDescriptionstatic Object[]ReflectionUtils.findMethod(IConnection conn, IServiceCall call, Object service, String methodName) Returns (method, params) for the given service or method name if found on a service or scope handler. -
Uses of IConnection in org.red5.server.so
Methods in org.red5.server.so with parameters of type IConnectionModifier and TypeMethodDescriptionvoidClientSharedObject.connect(IConnection conn) Connect the shared object using the passed connection. -
Uses of IConnection in org.red5.server.stream
Methods in org.red5.server.stream with parameters of type IConnectionModifier and TypeMethodDescriptionvoidStreamService.closeStream(IConnection conn, Number streamId) Close stream.booleanIRecordingListener.init(IConnection conn, String name, boolean isAppend) Initialize the listener.booleanRecordingListener.init(IConnection conn, String name, boolean isAppend) Initialize the listener.static voidStreamService.sendNetStreamStatus(IConnection conn, String statusCode, String description, String name, String status, Number streamId) Send NetStream.Status to the client.voidSingleItemSubscriberStream.Notifier.setConnection(IConnection conn) Constructors in org.red5.server.stream with parameters of type IConnectionModifierConstructorDescriptionNotifier(IPlaylistSubscriberStream stream, IStreamAwareScopeHandler handler, IConnection conn) -
Uses of IConnection in org.red5.server.stream.bandwidth
Methods in org.red5.server.stream.bandwidth with parameters of type IConnectionModifier and TypeMethodDescriptionvoidIBandwidthDetection.calculateClientBw(IConnection conn) voidServerClientDetection.calculateClientBw(IConnection conn) voidIBandwidthDetection.checkBandwidth(IConnection conn) voidServerClientDetection.checkBandwidth(IConnection conn)
IScope.getClientConnections()instead