|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.api.stream.support.SimplePlayItem
public class SimplePlayItem
Simple playlist item implementation
Field Summary | |
---|---|
protected long |
length
Length - amount to play |
protected IMessageInput |
msgInput
Message source |
protected String |
name
Playlist item name |
protected long |
start
Start mark |
Method Summary | |
---|---|
static SimplePlayItem |
build(String name)
Builder for SimplePlayItem |
static SimplePlayItem |
build(String name,
long start,
long length)
Builder for SimplePlayItem |
boolean |
equals(Object obj)
|
long |
getLength()
Returns play item length in milliseconds |
IMessageInput |
getMessageInput()
Returns IMessageInput object. |
IMessageInput |
getMsgInput()
Alias for getMessageInput |
String |
getName()
Returns item name |
long |
getStart()
Returns boolean value that specifies whether item can be played |
int |
hashCode()
|
void |
setMsgInput(IMessageInput msgInput)
Setter for message input |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String name
protected final long start
protected final long length
protected IMessageInput msgInput
Method Detail |
---|
public long getLength()
getLength
in interface IPlayItem
public IMessageInput getMessageInput()
getMessageInput
in interface IPlayItem
public String getName()
getName
in interface IPlayItem
public long getStart()
getStart
in interface IPlayItem
public IMessageInput getMsgInput()
public void setMsgInput(IMessageInput msgInput)
msgInput
- Message inputpublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public static SimplePlayItem build(String name)
name
-
public static SimplePlayItem build(String name, long start, long length)
name
- start
- length
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |