|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton | +--com.neoworks.jukex.tracksource.RoundRobinPipelineElement
This pipeline element takes several InMemoryPlaylist track sources and interleaves their requests.
Field Summary |
Fields inherited from class com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton |
name |
Constructor Summary | |
RoundRobinPipelineElement()
Creates a new instance of RoundRobinPipelineElement |
Method Summary | |
void |
addTrackSource(TrackSource ts)
Add a track source to the list of sources to play from |
java.lang.Object |
clone()
Clone this TrackSourcePipelineElement |
java.lang.String |
getDescription()
Return a String describing what, in general terms, this TrackSource does |
Track |
getNextTrack()
Get the next track from the source. |
java.util.Map |
getState()
Get the current state of this PipelineElement for persisting |
java.lang.String |
getSummary()
Return a String summarising the configuration of the task the source is performing |
java.util.List |
peekTracks(int count)
Peek at the next count tracks from this TrackSourcePipelineElement |
void |
removeTrackSource(TrackSource ts)
Remove a TrackSource from the list of sources to play from |
boolean |
setState(java.util.Map state)
Load the configuration of this PipelineElement |
Methods inherited from class com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton |
delegateGetNextTrack, delegatePeekTracks, disable, enable, getName, getNextTrackSource, getOwner, isEnabled, removeTrack, setName, setNextTrackSource, setOwner, storeState |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RoundRobinPipelineElement()
Method Detail |
public Track getNextTrack()
public void addTrackSource(TrackSource ts)
ts
- The TrackSource to addpublic void removeTrackSource(TrackSource ts)
ts
- The TrackSource to removepublic java.util.Map getState()
getState
in interface TrackSourcePipelineElement
getState
in class TrackSourcePipelineElementSkeleton
public java.util.List peekTracks(int count)
count
- The number of Tracks to peek ahead at
public boolean setState(java.util.Map state)
setState
in interface TrackSourcePipelineElement
setState
in class TrackSourcePipelineElementSkeleton
state
- a Map of values keyed by Strings representing the state of this PipelineElement.
public java.lang.Object clone()
clone
in interface TrackSource
clone
in class TrackSourcePipelineElementSkeleton
public java.lang.String getSummary()
public java.lang.String getDescription()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |