|
|||||||||||
| 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 ControlPlaybackpublic long getRemainingPlayingTime()
getRemainingPlayingTime in interface ControlPlaybackpublic long getPlayingTime()
public TrackSource getTrackSource()
getTrackSource in interface ControlPlaybackpublic void setTrackSource(TrackSource p)
setTrackSource in interface ControlPlaybackp - The TrackSource to request tracks frompublic void setStream(Stream s)
s - The Stream descriptor objectpublic void play()
play in interface ControlPlaybackpublic void cpStop()
cpStop in interface ControlPlaybackpublic void pause()
pause in interface ControlPlaybackpublic boolean isPaused()
isPaused in interface ControlPlaybackpublic void skip()
skip in interface ControlPlaybackpublic void run()
run in interface java.lang.Runnable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||