|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBasicScope
Base interface for all scope objects, including SharedObjects.
| Field Summary |
|---|
| Fields inherited from interface org.red5.server.api.persistence.IPersistable |
|---|
TRANSIENT_PREFIX |
| Method Summary | |
|---|---|
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. |
String |
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). |
void |
lock()
Lock handling - attempts to obtain a lock |
void |
setKeepDelay(int keepDelay)
Sets the amount of time to keep the scope available after the last disconnect. |
void |
unlock()
Lock handling - attempts to unlock a lock |
| Methods inherited from interface org.red5.server.api.ICastingAttributeStore |
|---|
getBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttribute |
| Methods inherited from interface org.red5.server.api.IAttributeStore |
|---|
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes |
| Methods inherited from interface org.red5.server.api.event.IEventDispatcher |
|---|
dispatchEvent |
| Methods inherited from interface org.red5.server.api.event.IEventHandler |
|---|
handleEvent |
| Methods inherited from interface org.red5.server.api.event.IEventListener |
|---|
notifyEvent |
| Methods inherited from interface org.red5.server.api.event.IEventObservable |
|---|
addEventListener, getEventListeners, removeEventListener |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.red5.server.api.persistence.IPersistable |
|---|
deserialize, getLastModified, getStore, isPersistent, serialize, setName, setPath, setPersistent, setStore |
| Method Detail |
|---|
boolean hasParent()
true if this scope has a parent, otherwise
falseIScope getParent()
null if this scope doesn't have a
parentint getDepth()
String getName()
someroom.
getName in interface IPersistableString getPath()
host/myapp/someroom.
getPath in interface IPersistableString getType()
getType in interface IPersistablevoid setKeepDelay(int keepDelay)
keepDelay - delayvoid lock()
void unlock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||