public interface IBasicScope extends ICoreObject, IEventObservable
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth()
Get the scopes depth, how far down the scope tree is it.
|
String |
getName()
Get the name of this scope.
|
IScope |
getParent()
Get this scopes parent.
|
String |
getPath()
Get the full absolute path.
|
IPersistenceStore |
getStore()
Get the persistable store
|
ScopeType |
getType()
Get the type of the scope.
|
boolean |
hasParent()
Does this scope have a parent? You can think of scopes as of tree items where scope may have a parent and children (child).
|
boolean |
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 |
isScopeAllowed(IScope scope)
Provides a means to allow a scope to perform processing on another scope prior to additional scope handling.
|
boolean |
isValid()
Validates a scope based on its name and type
|
void |
setKeepDelay(int keepDelay)
Sets the amount of time to keep the scope available after the last disconnect.
|
void |
setSecurityHandlers(Set<IScopeSecurityHandler> securityHandlers)
Sets the scope security handlers.
|
dispatchEventhandleEventnotifyEventaddEventListener, getEventListeners, removeEventListenerboolean hasParent()
IScope getParent()
int getDepth()
String getName()
IPersistenceStore getStore()
String getPath()
ScopeType getType()
void setKeepDelay(int keepDelay)
keepDelay - delayboolean isValid()
boolean isConnectionAllowed(IConnection conn)
conn - connectionboolean isScopeAllowed(IScope scope)
scope - scopevoid setSecurityHandlers(Set<IScopeSecurityHandler> securityHandlers)
securityHandlers - scope security handlersCopyright © 2005–2017 Red5. All rights reserved.