|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of IScope in org.red5.samples.components |
|---|
| Methods in org.red5.samples.components with parameters of type IScope | |
|---|---|
void |
ClientManager.addClient(IScope scope,
String username,
String uid)
A new client connected. |
String |
ClientManager.removeClient(IScope scope,
String uid)
A client disconnected. |
| Uses of IScope in org.red5.server |
|---|
| Classes in org.red5.server that implement IScope | |
|---|---|
class |
GlobalScope
Global scope is a top level scope. |
class |
Scope
The scope object. |
class |
WebScope
Web scope is special scope that is aware of servlet context and represents scope of Red5 application in servlet container (or application server) like Tomcat, Jetty or JBoss. |
| Fields in org.red5.server declared as IScope | |
|---|---|
protected IScope |
BasicScope.parent
Parent scope. |
| Fields in org.red5.server with type parameters of type IScope | |
|---|---|
protected ConcurrentMap<IConnection,IScope> |
Client.connToScope
Scopes this client connected to |
| Methods in org.red5.server that return IScope | |
|---|---|
IScope |
ContextMBean.getGlobalScope()
|
IScope |
ScopeMBean.getParent()
Return parent scope |
IScope |
Scope.getParent()
Return parent scope |
IScope |
BasicScope.getParent()
Get this scopes parent. |
IScope |
ContextMBean.getScope()
|
IScope |
BaseConnection.getScope()
|
IScope |
Context.getScope()
Return scope |
IScope |
ScopeMBean.getScope(String name)
Return child scope by name |
IScope |
Scope.getScope(String name)
Return child scope by name |
IScope |
ContextMBean.resolveScope(IScope root,
String path)
|
IScope |
ScopeResolver.resolveScope(IScope root,
String path)
Return scope associated with given path from given root scope. |
IScope |
Context.resolveScope(IScope root,
String path)
Resolves scope from given root using scope resolver. |
IScope |
ContextMBean.resolveScope(String path)
|
IScope |
ScopeResolver.resolveScope(String path)
Return scope associated with given path |
IScope |
Context.resolveScope(String path)
Resolves scope using scope resolver collaborator |
IScope |
ContextMBean.resolveScope(String host,
String path)
|
IScope |
Context.resolveScope(String host,
String path)
Resolve scope from host and path |
| Methods in org.red5.server that return types with arguments of type IScope | |
|---|---|
Collection<IScope> |
Client.getScopes()
|
| Methods in org.red5.server with parameters of type IScope | |
|---|---|
boolean |
CoreHandlerMBean.connect(IConnection conn,
IScope scope)
|
boolean |
CoreHandler.connect(IConnection conn,
IScope scope)
Connects client to the scope |
boolean |
CoreHandlerMBean.connect(IConnection conn,
IScope scope,
Object[] params)
|
boolean |
CoreHandler.connect(IConnection conn,
IScope scope,
Object[] params)
Connects client to the scope |
boolean |
BaseConnection.connect(IScope newScope)
Connect to another scope on server |
boolean |
BaseConnection.connect(IScope newScope,
Object[] params)
Connect to another scope on server with given parameters |
void |
CoreHandlerMBean.disconnect(IConnection conn,
IScope scope)
|
void |
CoreHandler.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected. |
Set<IConnection> |
Client.getConnections(IScope scope)
Return client connections to given scope |
boolean |
CoreHandlerMBean.join(IClient client,
IScope scope)
|
boolean |
CoreHandler.join(IClient client,
IScope scope)
Called just before a client enters the scope. |
void |
CoreHandlerMBean.leave(IClient client,
IScope scope)
|
void |
CoreHandler.leave(IClient client,
IScope scope)
Called just after the client leaves the scope. |
protected void |
Server.notifyScopeCreated(IScope scope)
Notify listeners about a newly created scope. |
protected void |
Server.notifyScopeRemoved(IScope scope)
Notify listeners that a scope was removed. |
IScope |
ContextMBean.resolveScope(IScope root,
String path)
|
IScope |
ScopeResolver.resolveScope(IScope root,
String path)
Return scope associated with given path from given root scope. |
IScope |
Context.resolveScope(IScope root,
String path)
Resolves scope from given root using scope resolver. |
void |
Scope.setParent(IScope parent)
Setter for parent scope |
boolean |
CoreHandlerMBean.start(IScope scope)
|
boolean |
CoreHandler.start(IScope scope)
Called when a scope is created for the first time. |
void |
CoreHandlerMBean.stop(IScope scope)
|
void |
CoreHandler.stop(IScope scope)
Called just before a scope is disposed. |
| Constructors in org.red5.server with parameters of type IScope | |
|---|---|
BasicScope(IScope parent,
String type,
String name,
boolean persistent)
Constructor for basic scope |
|
| Uses of IScope in org.red5.server.adapter |
|---|
| Fields in org.red5.server.adapter declared as IScope | |
|---|---|
protected IScope |
StatefulScopeWrappingAdapter.scope
Wrapped scope |
| Methods in org.red5.server.adapter that return IScope | |
|---|---|
IScope |
StatefulScopeWrappingAdapter.getChildScope(String name)
Return child scope |
IScope |
StatefulScopeWrappingAdapter.getParent()
Return parent scope |
IScope |
StatefulScopeWrappingAdapter.getScope()
Getter for wrapped scope |
| Methods in org.red5.server.adapter with parameters of type IScope | |
|---|---|
boolean |
MultiThreadedApplicationAdapter.appJoin(IClient client,
IScope app)
|
boolean |
ApplicationMBean.appJoin(IClient client,
IScope app)
|
boolean |
IApplication.appJoin(IClient client,
IScope app)
Called every time client joins app level scope |
void |
MultiThreadedApplicationAdapter.appLeave(IClient client,
IScope app)
Handler method. |
void |
ApplicationMBean.appLeave(IClient client,
IScope app)
|
void |
IApplication.appLeave(IClient client,
IScope app)
Called every time client leaves the application scope |
boolean |
MultiThreadedApplicationAdapter.appStart(IScope app)
Called once on scope (that is, application or application room) start. |
boolean |
ApplicationMBean.appStart(IScope app)
|
boolean |
IApplication.appStart(IScope app)
Called once when application or room starts |
void |
MultiThreadedApplicationAdapter.appStop(IScope app)
Handler method. |
void |
ApplicationMBean.appStop(IScope app)
|
void |
IApplication.appStop(IScope app)
Called on application stop |
boolean |
MultiThreadedApplicationAdapter.clearSharedObjects(IScope scope,
String name)
Deletes persistent shared objects specified by name and clears all properties from active shared objects (persistent and nonpersistent). |
boolean |
MultiThreadedApplicationAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Returns connection result for given scope and parameters. |
boolean |
ApplicationAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Returns connection result for given scope and parameters. |
boolean |
AbstractScopeAdapter.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope. |
boolean |
MultiThreadedApplicationAdapter.createSharedObject(IScope scope,
String name,
boolean persistent)
Creates a new shared object for given scope. |
void |
MultiThreadedApplicationAdapter.disconnect(IConnection conn,
IScope scope)
Returns disconnection result for given scope and parameters. |
void |
ApplicationAdapter.disconnect(IConnection conn,
IScope scope)
Returns disconnection result for given scope and parameters. |
void |
AbstractScopeAdapter.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected. |
IBroadcastStream |
MultiThreadedApplicationAdapter.getBroadcastStream(IScope scope,
String name)
Get a broadcast stream by name |
List<String> |
MultiThreadedApplicationAdapter.getBroadcastStreamNames(IScope scope)
Returns list of stream names broadcasted in |
IOnDemandStream |
MultiThreadedApplicationAdapter.getOnDemandStream(IScope scope,
String name)
Returns VOD stream with given name from specified scope. |
ISharedObject |
MultiThreadedApplicationAdapter.getSharedObject(IScope scope,
String name)
Returns shared object from given scope by name. |
ISharedObject |
MultiThreadedApplicationAdapter.getSharedObject(IScope scope,
String name,
boolean persistent)
Returns shared object from given scope by name. |
Set<String> |
MultiThreadedApplicationAdapter.getSharedObjectNames(IScope scope)
Returns available SharedObject names as List |
ISubscriberStream |
MultiThreadedApplicationAdapter.getSubscriberStream(IScope scope,
String name)
Returns subscriber stream with given name from specified scope. |
boolean |
MultiThreadedApplicationAdapter.hasBroadcastStream(IScope scope,
String name)
Does the scope have a broadcast stream registered with a given name |
boolean |
MultiThreadedApplicationAdapter.hasOnDemandStream(IScope scope,
String name)
Check whether scope has VOD stream with given name or not |
boolean |
MultiThreadedApplicationAdapter.hasSharedObject(IScope scope,
String name)
Checks whether there's a SO with given scope and name |
boolean |
MultiThreadedApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope. |
boolean |
ApplicationAdapter.join(IClient client,
IScope scope)
Adds client to scope. |
boolean |
AbstractScopeAdapter.join(IClient client,
IScope scope)
Called just before a client enters the scope. |
void |
MultiThreadedApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope. |
void |
ApplicationAdapter.leave(IClient client,
IScope scope)
Disconnects client from scope. |
void |
AbstractScopeAdapter.leave(IClient client,
IScope scope)
Called just after the client leaves the scope. |
boolean |
MultiThreadedApplicationAdapter.roomJoin(IClient client,
IScope room)
|
boolean |
ApplicationMBean.roomJoin(IClient client,
IScope room)
|
boolean |
IApplication.roomJoin(IClient client,
IScope room)
Called when user joins room scope |
void |
MultiThreadedApplicationAdapter.roomLeave(IClient client,
IScope room)
Handler method. |
void |
ApplicationMBean.roomLeave(IClient client,
IScope room)
|
void |
IApplication.roomLeave(IClient client,
IScope room)
Called when user leaves room scope |
boolean |
MultiThreadedApplicationAdapter.roomStart(IScope room)
Handler method. |
boolean |
ApplicationMBean.roomStart(IScope room)
|
boolean |
IApplication.roomStart(IScope room)
Called on application room start |
void |
MultiThreadedApplicationAdapter.roomStop(IScope room)
Handler method. |
void |
ApplicationMBean.roomStop(IScope room)
|
void |
IApplication.roomStop(IScope room)
Called on room scope stop |
void |
StatefulScopeWrappingAdapter.setScope(IScope scope)
Set the scope the object is located in. |
boolean |
MultiThreadedApplicationAdapter.start(IScope scope)
Starts scope. |
boolean |
ApplicationAdapter.start(IScope scope)
Starts scope. |
boolean |
AbstractScopeAdapter.start(IScope scope)
Called when a scope is created for the first time. |
void |
MultiThreadedApplicationAdapter.stop(IScope scope)
Stops scope handling (that is, stops application if given scope is app level scope and stops room handling if given scope has lower scope level). |
void |
ApplicationAdapter.stop(IScope scope)
Stops scope handling (that is, stops application if given scope is app level scope and stops room handling if given scope has lower scope level). |
void |
AbstractScopeAdapter.stop(IScope scope)
Called just before a scope is disposed. |
| Uses of IScope in org.red5.server.api |
|---|
| Subinterfaces of IScope in org.red5.server.api | |
|---|---|
interface |
IGlobalScope
The global scope that acts as root for all applications in a host. |
| Methods in org.red5.server.api that return IScope | |
|---|---|
static IScope |
ScopeUtils.findApplication(IScope from)
Returns the application scope for specified scope. |
static IScope |
ScopeUtils.findRoot(IScope from)
Finds root scope for specified scope object. |
IScope |
IBasicScope.getParent()
Get this scopes parent. |
IScope |
Red5MBean.getScope()
|
IScope |
ConnectionMBean.getScope()
|
IScope |
IConnection.getScope()
Get the scope this is connected to. |
IScope |
Red5.getScope()
Get the scope |
IScope |
ScopeMBean.getScope(String name)
Return scope by name |
IScope |
IScope.getScope(String name)
Return scope by name |
IScope |
IContext.resolveScope(IScope root,
String path)
Returns scope by path from given root. |
static IScope |
ScopeUtils.resolveScope(IScope from,
String path)
Resolves scope for specified scope and path. |
IScope |
IScopeResolver.resolveScope(IScope root,
String path)
Get the scope for a given path from a root scope. |
IScope |
IContext.resolveScope(String path)
Returns scope by path. |
IScope |
IScopeResolver.resolveScope(String path)
Get the scope for a given path. |
| Methods in org.red5.server.api that return types with arguments of type IScope | |
|---|---|
Collection<IScope> |
ClientMBean.getScopes()
|
Collection<IScope> |
IClient.getScopes()
Get a set of scopes the client is connected to. |
| Methods in org.red5.server.api with parameters of type IScope | |
|---|---|
boolean |
IScopeHandler.connect(IConnection conn,
IScope scope,
Object[] params)
Called just before every connection to a scope. |
boolean |
ConnectionMBean.connect(IScope scope)
|
boolean |
IConnection.connect(IScope scope)
Try to connect to the scope. |
boolean |
ConnectionMBean.connect(IScope scope,
Object[] params)
|
boolean |
IConnection.connect(IScope scope,
Object[] params)
Try to connect to the scope with a list of connection parameters. |
void |
IScopeHandler.disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected. |
static IScope |
ScopeUtils.findApplication(IScope from)
Returns the application scope for specified scope. |
static IScope |
ScopeUtils.findRoot(IScope from)
Finds root scope for specified scope object. |
Set<IConnection> |
IClient.getConnections(IScope scope)
Get a set of connections of a given scope. |
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf)
Returns scope service that implements a given interface. |
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
boolean checkHandler)
|
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
Class<?> defaultClass)
Returns scope service that implements a given interface. |
static Object |
ScopeUtils.getScopeService(IScope scope,
Class<?> intf,
Class<?> defaultClass,
boolean checkHandler)
|
protected static Object |
ScopeUtils.getScopeService(IScope scope,
String name)
Returns scope service by bean name. |
protected static Object |
ScopeUtils.getScopeService(IScope scope,
String name,
Class<?> defaultClass)
Returns scope services (e.g. |
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. |
IScope |
IContext.resolveScope(IScope root,
String path)
Returns scope by path from given root. |
static IScope |
ScopeUtils.resolveScope(IScope from,
String path)
Resolves scope for specified scope and path. |
IScope |
IScopeResolver.resolveScope(IScope root,
String path)
Get the scope for a given path from a root scope. |
void |
IScopeAware.setScope(IScope scope)
Set the scope the object is located in. |
boolean |
IScopeHandler.start(IScope scope)
Called when a scope is created for the first time. |
void |
IScopeHandler.stop(IScope scope)
Called just before a scope is disposed. |
| Uses of IScope in org.red5.server.api.listeners |
|---|
| Methods in org.red5.server.api.listeners with parameters of type IScope | |
|---|---|
void |
IScopeListener.notifyScopeCreated(IScope scope)
A scope has been created. |
void |
IScopeListener.notifyScopeRemoved(IScope scope)
A scope has been removed. |
| Uses of IScope in org.red5.server.api.service |
|---|
| Methods in org.red5.server.api.service with parameters of type IScope | |
|---|---|
boolean |
IServiceInvoker.invoke(IServiceCall call,
IScope scope)
Execute the passed service call in the given scope. |
static void |
ServiceUtils.invokeOnAllConnections(IScope scope,
String method,
Object[] params)
Invoke a method on all connections to a given scope. |
static void |
ServiceUtils.invokeOnAllConnections(IScope scope,
String method,
Object[] params,
IPendingServiceCallback callback)
Invoke a method on all connections to a given scope and handle result. |
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.notifyOnAllConnections(IScope scope,
String method,
Object[] params)
Notfy a method on all connections to a given scope. |
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. |
| Uses of IScope in org.red5.server.api.so |
|---|
| Methods in org.red5.server.api.so with parameters of type IScope | |
|---|---|
boolean |
ISharedObjectService.clearSharedObjects(IScope scope,
String name)
Deletes persistent shared objects specified by name and clears all properties from active shared objects (persistent and nonpersistent). |
boolean |
ISharedObjectService.createSharedObject(IScope scope,
String name,
boolean persistent)
Create a new shared object. |
ISharedObject |
ISharedObjectService.getSharedObject(IScope scope,
String name)
Get a shared object by name. |
ISharedObject |
ISharedObjectService.getSharedObject(IScope scope,
String name,
boolean persistent)
Get a shared object by name and create it if it doesn't exist. |
Set< | |