Uses of Interface
org.red5.server.api.scope.IScope
Packages that use IScope
Package
Description
-
Uses of IScope in org.red5.server
Methods in org.red5.server that return IScopeMethods in org.red5.server that return types with arguments of type IScopeMethods in org.red5.server with parameters of type IScopeModifier and TypeMethodDescriptionbooleanConnect to another scope on serverbooleanConnect to another scope on server with given parametersClient.getConnections(IScope scope) Return client connections to given scopevoidServer.notifyScopeCreated(IScope scope) Notify listeners about a newly created scope.voidServer.notifyScopeRemoved(IScope scope) Notify listeners that a scope was removed. -
Uses of IScope in org.red5.server.adapter
Methods in org.red5.server.adapter that return IScopeMethods in org.red5.server.adapter with parameters of type IScopeModifier and TypeMethodDescriptionbooleanCalled every time client joins app level scopevoidCalled every time client leaves the application scopebooleanCalled once when application or room startsvoidCalled on application stopbooleanAbstractScopeAdapter.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.booleanCalled just before a client enters the scope.voidCalled just after the client leaves the scope.booleanCalled when user joins room scopevoidCalled when user leaves room scopebooleanCalled on application room startvoidCalled on room scope stopbooleanCalled when a scope is created for the first time.voidCalled just before a scope is disposed. -
Uses of IScope in org.red5.server.api
Methods in org.red5.server.api that return IScopeModifier and TypeMethodDescriptionIConnection.getScope()Get the scope this is connected to.Red5.getScope()Get the scopeIContext.resolveScope(String path) Returns scope by path.IContext.resolveScope(IScope root, String path) Returns scope by path from given root.Methods in org.red5.server.api that return types with arguments of type IScopeModifier and TypeMethodDescriptionIClient.getScopes()Get a set of scopes the client is connected to.Methods in org.red5.server.api with parameters of type IScopeModifier and TypeMethodDescriptionbooleanTry to connect to the scope.booleanTry to connect to the scope with a list of connection parameters.IClient.getConnections(IScope scope) Get a set of connections of a given scope.IContext.resolveScope(IScope root, String path) Returns scope by path from given root. -
Uses of IScope in org.red5.server.api.listeners
Methods in org.red5.server.api.listeners with parameters of type IScopeModifier and TypeMethodDescriptionvoidIScopeListener.notifyScopeCreated(IScope scope) A scope has been created.voidScopeListenerAdapter.notifyScopeCreated(IScope scope) voidIScopeListener.notifyScopeRemoved(IScope scope) A scope has been removed.voidScopeListenerAdapter.notifyScopeRemoved(IScope scope) -
Uses of IScope in org.red5.server.api.scope
Subinterfaces of IScope in org.red5.server.api.scopeModifier and TypeInterfaceDescriptioninterfaceThe global scope that acts as root for all applications in a host.Methods in org.red5.server.api.scope that return IScopeModifier and TypeMethodDescriptionIBasicScope.getParent()Get this scopes parent.Return scope by nameMethods in org.red5.server.api.scope with parameters of type IScopeModifier and TypeMethodDescriptionbooleanDetermines whether or not a given scope is allowed.booleanIScopeHandler.connect(IConnection conn, IScope scope, Object[] params) Called just before every connection to a scope.voidIScopeHandler.disconnect(IConnection conn, IScope scope) Called just after the a connection is disconnected.booleanIBasicScope.isScopeAllowed(IScope scope) Provides a means to allow a scope to perform processing on another scope prior to additional scope handling.booleanCalled just before a client enters the scope.voidCalled just after the client leaves the scope.voidSet the scope the object is located in.booleanCalled when a scope is created for the first time.voidCalled just before a scope is disposed. -
Uses of IScope in org.red5.server.api.service
Methods in org.red5.server.api.service with parameters of type IScopeModifier and TypeMethodDescriptionIBroadcastStreamService.getBroadcastStream(IScope scope, String name) Get a broadcast stream by nameIBroadcastStreamService.getBroadcastStreamNames(IScope scope) Get a set containing the names of all the broadcastsIBroadcastStreamService.getBroadcastStreams(IScope scope) Returns broadcast streams registered on the scope.IOnDemandStreamService.getOnDemandStream(IScope scope, String name) Get a stream that can be used for playback of the on-demand streamISubscriberStreamService.getSubscriberStream(IScope scope, String name) Returns a stream that can subscribe a broadcast stream with the given name using "IBroadcastStream.subscribe".booleanIBroadcastStreamService.hasBroadcastStream(IScope scope, String name) Does the scope have a broadcast stream registered with a given namebooleanIOnDemandStreamService.hasOnDemandStream(IScope scope, String name) Has the service an on-demand stream with the passed name?booleanIServiceInvoker.invoke(IServiceCall call, IScope scope) Execute the passed service call in the given scope.static voidServiceUtils.invokeOnAllConnections(IScope scope, String method, Object[] params) Deprecated.static voidServiceUtils.invokeOnAllConnections(IScope scope, String method, Object[] params, IPendingServiceCallback callback) Invoke a method on all connections to a given scope and handle result.static voidServiceUtils.invokeOnAllScopeConnections(IScope scope, String method, Object[] params, IPendingServiceCallback callback) Invoke a method on all connections of a scope and handle result.static voidServiceUtils.invokeOnClient(IClient client, IScope scope, String method, Object[] params) Invoke a method on all connections of a client to a given scope.static voidServiceUtils.invokeOnClient(IClient client, IScope scope, String method, Object[] params, IPendingServiceCallback callback) Deprecated.static voidServiceUtils.notifyOnAllConnections(IScope scope, String method, Object[] params) Deprecated.static voidServiceUtils.notifyOnAllScopeConnections(IScope scope, String method, Object[] params) Notify a method on all connections of a scope.static voidServiceUtils.notifyOnClient(IClient client, IScope scope, String method, Object[] params) Deprecated. -
Uses of IScope in org.red5.server.api.so
Methods in org.red5.server.api.so with parameters of type IScopeModifier and TypeMethodDescriptionbooleanISharedObjectService.clearSharedObjects(IScope scope, String name) Deletes persistent shared objects specified by name and clears all properties from active shared objects (persistent and nonpersistent).booleanISharedObjectService.createSharedObject(IScope scope, String name, boolean persistent) Create a new shared object.ISharedObjectService.getSharedObject(IScope scope, String name) Get a shared object by name.ISharedObjectService.getSharedObject(IScope scope, String name, boolean persistent) Get a shared object by name and create it if it doesn't exist.ISharedObjectService.getSharedObjectNames(IScope scope) Get a set of the shared object names.booleanISharedObjectService.hasSharedObject(IScope scope, String name) Check if a shared object exists.booleanISharedObjectSecurity.isCreationAllowed(IScope scope, String name, boolean persistent) Check if the a shared object may be created in the given scope. -
Uses of IScope in org.red5.server.api.stream
Methods in org.red5.server.api.stream that return IScopeModifier and TypeMethodDescriptionIStream.getScope()Get the scope this stream is associated with.Methods in org.red5.server.api.stream with parameters of type IScopeModifier and TypeMethodDescriptionIStreamFilenameGenerator.generateFilename(IScope scope, String name, String extension, IStreamFilenameGenerator.GenerationType type) Generate a filename with an extension.IStreamFilenameGenerator.generateFilename(IScope scope, String name, IStreamFilenameGenerator.GenerationType type) Generate a filename without an extension.booleanIRtmpSampleAccess.isAudioAllowed(IScope scope) Return true if sample access allowed on audio stream.booleanIStreamPlaybackSecurity.isPlaybackAllowed(IScope scope, String name, int start, int length, boolean flushPlaylist) Check if playback of a stream with the given name is allowed.booleanIStreamPublishSecurity.isPublishAllowed(IScope scope, String name, String mode) Check if publishing a stream with the given name is allowed.booleanIRtmpSampleAccess.isVideoAllowed(IScope scope) Return true if sample access allowed on video stream. -
Uses of IScope in org.red5.server.exception
Constructors in org.red5.server.exception with parameters of type IScopeModifierConstructorDescriptionScopeNotFoundException(IScope scope, String childName) Create exception from given scope object and given child subscopeScopeShuttingDownException(IScope scope) Create exception from given scope object -
Uses of IScope in org.red5.server.jmx.mxbeans
Methods in org.red5.server.jmx.mxbeans with parameters of type IScopeModifier and TypeMethodDescriptionbooleanvoidbooleanvoidbooleanvoidbooleanvoid -
Uses of IScope in org.red5.server.net.rtmp
Methods in org.red5.server.net.rtmp with parameters of type IScope -
Uses of IScope in org.red5.server.persistence
Constructors in org.red5.server.persistence with parameters of type IScopeModifierConstructorDescriptionRamPersistence(IScope scope) Creates RAM persistence object from scope -
Uses of IScope in org.red5.server.scope
Classes in org.red5.server.scope that implement IScopeFields in org.red5.server.scope declared as IScopeMethods in org.red5.server.scope that return IScopeModifier and TypeMethodDescriptionBasicScope.getParent()Get this scopes parent.Scope.getParent()Return parent scopeReturn child scope by nameMethods in org.red5.server.scope with parameters of type IScopeModifier and TypeMethodDescriptionbooleanbooleanBasicScope.isScopeAllowed(IScope scope) Provides a means to allow a scope to perform processing on another scope prior to additional scope handling.voidSetter for parent scopeConstructors in org.red5.server.scope with parameters of type IScope -
Uses of IScope in org.red5.server.service
Methods in org.red5.server.service with parameters of type IScopeModifier and TypeMethodDescriptionbooleanServiceInvoker.invoke(IServiceCall call, IScope scope) Execute the passed service call in the given scope.IServiceResolver.resolveService(IScope scope, String serviceName) Search for a service with the given name in the scope. -
Uses of IScope in org.red5.server.so
Methods in org.red5.server.so with parameters of type IScopeModifier and TypeMethodDescriptionbooleanSharedObjectService.clearSharedObjects(IScope scope, String name) Deletes persistent shared objects specified by name and clears all properties from active shared objects (persistent and nonpersistent).booleanSharedObjectService.createSharedObject(IScope scope, String name, boolean persistent) Create a new shared object.SharedObjectService.getSharedObject(IScope scope, String name) Get a shared object by name.SharedObjectService.getSharedObject(IScope scope, String name, boolean persistent) Get a shared object by name and create it if it doesn't exist.SharedObjectService.getSharedObjectNames(IScope scope) Get a set of the shared object names.booleanSharedObjectService.hasSharedObject(IScope scope, String name) Check if a shared object exists.Constructors in org.red5.server.so with parameters of type IScopeModifierConstructorDescriptionSharedObjectScope(IScope parent, String name, boolean persistent, IPersistenceStore store) Creates shared object with given parent scope, name, persistence flag state and store object -
Uses of IScope in org.red5.server.stream
Methods in org.red5.server.stream that return IScopeMethods in org.red5.server.stream with parameters of type IScopeModifier and TypeMethodDescriptionDefaultStreamFilenameGenerator.generateFilename(IScope scope, String name, String extension, IStreamFilenameGenerator.GenerationType type) Generate a filename with an extension.DefaultStreamFilenameGenerator.generateFilename(IScope scope, String name, IStreamFilenameGenerator.GenerationType type) Generate a filename without an extension.StreamService.getBroadcastScope(IScope scope, String name) Return broadcast scope object for given scope and child scope name.IProviderService.getBroadcastStreamNames(IScope scope) Get names of existing broadcast streams in a scope.IProviderService.getLiveProviderInput(IScope scope, String name, boolean needCreate) Get a named Live provider as the source of input.IProviderService.getProviderInput(IScope scope, String name) Get a named provider as the source of input.protected FileClientBroadcastStream.getRecordFile(IScope scope, String name) Get the file we'd be recording to based on scope and given name.static FileRecordingListener.getRecordFile(IScope scope, String name) Get the file we'd be recording to based on scope and given name.IProviderService.getVODProviderFile(IScope scope, String name) Get a named VOD source file.IProviderService.getVODProviderInput(IScope scope, String name) Get a named VOD provider as the source of input.booleanInitialize the listener.booleanInitialize the listener.IProviderService.lookupProviderInput(IScope scope, String name, int type) Returns the input type for a named provider if a source of input exists.booleanIProviderService.registerBroadcastStream(IScope scope, String name, IBroadcastStream stream) Register a broadcast stream to a scope.voidSetter for scope.booleanIProviderService.unregisterBroadcastStream(IScope scope, String name) Unregister a broadcast stream of a specific name from a scope.booleanIProviderService.unregisterBroadcastStream(IScope scope, String name, IBroadcastStream stream) Unregister a broadcast stream of a specific name from a scope. -
Uses of IScope in org.red5.server.stream.consumer
Methods in org.red5.server.stream.consumer with parameters of type IScopeModifier and TypeMethodDescriptionvoidSets the scope for this consumer.voidSets the scope for this consumer.Constructors in org.red5.server.stream.consumer with parameters of type IScopeModifierConstructorDescriptionFileConsumer(IScope scope, File file) Creates file consumerFileConsumer(IScope scope, String fileName, String mode) Creates file consumerSlicedFileConsumer(IScope scope, File file) Creates file consumerSlicedFileConsumer(IScope scope, String fileName, String mode) Creates file consumer -
Uses of IScope in org.red5.server.util
Methods in org.red5.server.util that return IScopeModifier and TypeMethodDescriptionstatic IScopeScopeUtils.findApplication(IScope from) Returns the application scope for specified scope.static IScopeFinds root scope for specified scope object.static IScopeScopeUtils.resolveScope(IScope from, String path) Resolves scope for specified scope and path.Methods in org.red5.server.util with parameters of type IScopeModifier and TypeMethodDescriptionstatic IScopeScopeUtils.findApplication(IScope from) Returns the application scope for specified scope.static IScopeFinds root scope for specified scope object.static ObjectScopeUtils.getScopeService(IScope scope, Class<?> intf) Returns scope service that implements a given interface.static ObjectScopeUtils.getScopeService(IScope scope, Class<?> intf, boolean checkHandler) static ObjectScopeUtils.getScopeService(IScope scope, Class<?> intf, Class<?> defaultClass) Returns scope service that implements a given interface.static ObjectScopeUtils.getScopeService(IScope scope, Class<?> intf, Class<?> defaultClass, boolean checkHandler) protected static ObjectScopeUtils.getScopeService(IScope scope, String name) Returns scope service by bean name.protected static ObjectScopeUtils.getScopeService(IScope scope, String name, Class<?> defaultClass) Returns scope services (e.g.static IScopeScopeUtils.resolveScope(IScope from, String path) Resolves scope for specified scope and path.
ServiceUtils.invokeOnAllScopeConnections(IScope, String, Object[], IPendingServiceCallback)instead