|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.shout.Shouter
The shouter thread. This class gets Tracks from a TrackSource and shouts them to a [Shout|Ice]Cast server.
Method Summary | |
void |
cpStop()
Shutdown the shouter |
Track |
getPlaying()
Get the Track that is currently being played (or is about to be played) |
long |
getPlayingTime()
Get the playing time for the current Track |
long |
getRemainingPlayingTime()
Get the remaining time for the current Track |
TrackSource |
getTrackSource()
Get the current TrackSource |
boolean |
isPaused()
Test whether the shouter is in pause mode |
void |
pause()
Pause the stream |
void |
play()
Start the shouter thread |
void |
run()
The shouter thread |
void |
setStream(Stream s)
Set the Stream descriptor |
void |
setTrackSource(TrackSource p)
Set the TrackSource |
void |
skip()
Skip to the next track |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Track getPlaying()
getPlaying
in interface ControlPlayback
public long getRemainingPlayingTime()
getRemainingPlayingTime
in interface ControlPlayback
public long getPlayingTime()
public TrackSource getTrackSource()
getTrackSource
in interface ControlPlayback
public void setTrackSource(TrackSource p)
setTrackSource
in interface ControlPlayback
p
- The TrackSource to request tracks frompublic void setStream(Stream s)
s
- The Stream descriptor objectpublic void play()
play
in interface ControlPlayback
public void cpStop()
cpStop
in interface ControlPlayback
public void pause()
pause
in interface ControlPlayback
public boolean isPaused()
isPaused
in interface ControlPlayback
public void skip()
skip
in interface ControlPlayback
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |