|
||||||||||
| 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 |
int |
compareTo(SimplePlayItem that)
|
boolean |
equals(Object obj)
|
long |
getCreated()
|
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 |
setCreated(long created)
|
void |
setMsgInput(IMessageInput msgInput)
Setter for message input |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, 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 IPlayItempublic IMessageInput getMessageInput()
getMessageInput in interface IPlayItempublic String getName()
getName in interface IPlayItempublic long getStart()
getStart in interface IPlayItempublic IMessageInput getMsgInput()
public void setMsgInput(IMessageInput msgInput)
msgInput - Message inputpublic long getCreated()
public void setCreated(long created)
created - the created to setpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(SimplePlayItem that)
compareTo in interface Comparable<SimplePlayItem>public static SimplePlayItem build(String name)
name -
public static SimplePlayItem build(String name,
long start,
long length)
name - start - length -
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||