|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.AbstractStream
public abstract class AbstractStream
Abstract base implementation of IStream. Contains codec information, stream name, scope, event handling meand, provides stream start and stop operations.
IStream
Nested Class Summary | |
---|---|
protected static class |
AbstractStream.State
Enumeration for states |
Field Summary | |
---|---|
protected AbstractStream.State |
state
Current state |
Constructor Summary | |
---|---|
AbstractStream()
|
Method Summary | |
---|---|
IStreamCodecInfo |
getCodecInfo()
Return codec information |
String |
getName()
Return stream name |
IScope |
getScope()
Return scope |
protected IStreamAwareScopeHandler |
getStreamAwareHandler()
Return stream aware scope handler or null if scope is null |
void |
setCodecInfo(IStreamCodecInfo codecInfo)
Setter for codec info |
void |
setName(String name)
Setter for name |
void |
setScope(IScope scope)
Setter for scope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.red5.server.api.stream.IStream |
---|
close, start, stop |
Field Detail |
---|
protected AbstractStream.State state
Constructor Detail |
---|
public AbstractStream()
Method Detail |
---|
public String getName()
getName
in interface IStream
public IStreamCodecInfo getCodecInfo()
getCodecInfo
in interface IStream
public IScope getScope()
getScope
in interface IStream
public void setName(String name)
name
- Stream namepublic void setCodecInfo(IStreamCodecInfo codecInfo)
codecInfo
- Codec infopublic void setScope(IScope scope)
scope
- Scopeprotected IStreamAwareScopeHandler getStreamAwareHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |