| Package | Description |
|---|---|
| org.red5.server | |
| org.red5.server.adapter | |
| org.red5.server.api | |
| org.red5.server.api.scope | |
| org.red5.server.api.so | |
| org.red5.server.scope | |
| org.red5.server.so | |
| org.red5.server.util |
| Modifier and Type | Field and Description |
|---|---|
protected CopyOnWriteArraySet<IBasicScope> |
BaseConnection.basicScopes
Set of basic scopes.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<IBasicScope> |
BaseConnection.getBasicScopes() |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseConnection.unregisterBasicScope(IBasicScope basicScope)
Unregister basic scope
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractScopeAdapter.addChildScope(IBasicScope scope)
Called just before a child scope is added.
|
void |
AbstractScopeAdapter.removeChildScope(IBasicScope scope)
Called just after a child scope has been removed.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<IBasicScope> |
IConnection.getBasicScopes()
Get the basic scopes this connection has subscribed.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IBroadcastScope
Broadcast scope is marker interface that represents object that works as basic scope and has pipe connection event dispatching capabilities.
|
interface |
IGlobalScope
The global scope that acts as root for all applications in a host.
|
interface |
IScope
The scope object.
|
| Modifier and Type | Method and Description |
|---|---|
IBasicScope |
IScope.getBasicScope(ScopeType type,
String name)
Get a child scope by type and name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IScope.addChildScope(IBasicScope scope)
Adds scope as a child scope.
|
boolean |
IScopeHandler.addChildScope(IBasicScope scope)
Called just before a child scope is added.
|
void |
IScope.removeChildScope(IBasicScope scope)
Removes scope from the children scope list.
|
void |
IScopeHandler.removeChildScope(IBasicScope scope)
Called just after a child scope has been removed.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ISharedObject
Serverside access to shared objects.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicScope
Generalizations of one of main Red5 object types, Scope.
|
class |
Scope
The scope object.
|
| Modifier and Type | Method and Description |
|---|---|
IBasicScope |
Scope.getBasicScope(ScopeType type,
String name)
Return base scope of given type with given name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Scope.addChildScope(IBasicScope scope)
Add child scope to this scope
|
void |
Scope.removeChildScope(IBasicScope scope)
Removes child scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
SharedObjectScope
Special scope for shared objects
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ScopeUtils.isAncestor(IBasicScope from,
IBasicScope ancestor)
Check whether one scope is an ancestor of another
|
static boolean |
ScopeUtils.isApp(IBasicScope scope)
Check whether scope is an application scope (level 1 leaf in scope tree) or not
|
static boolean |
ScopeUtils.isGlobal(IBasicScope scope)
Check whether scope is the global scope (level 0 leaf in scope tree) or not
When user connects the following URL: rtmp://localhost/myapp/foo/bar then / is the global level scope, myapp is app level, foo is room level and bar is room level as well (but with higher depth level)
|
static boolean |
ScopeUtils.isRoom(IBasicScope scope)
Check whether scope is a room scope (level 2 leaf in scope tree or lower, e.g.
|
static boolean |
ScopeUtils.isRoot(IBasicScope scope)
Checks whether scope is root or not
|
Copyright © 2005–2017 Red5. All rights reserved.