|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.breeweb.slimconnect.commands.AbstractCommand
com.breeweb.slimconnect.commands.PlayerCommand
Field Summary | |
static java.lang.String |
CMD_ADDRESS
|
static java.lang.String |
CMD_COUNT
|
static java.lang.String |
CMD_NAME
|
static java.lang.String |
CMD_PLAYLIST_CURRENT_TRACK
|
static java.lang.String |
CMD_PLAYLIST_NR_OF_TRACKS
|
static java.lang.String |
PLAYER
|
static java.lang.String |
PLAYLIST
|
Method Summary | |
static AbstractCommand |
getCurrentTrackInPlaylist()
Returns the command to get the current track in the playlist. |
static PlayerCommand |
getNrOfPlayers()
Returns the command to get the number of players connected to the Squeezebox server |
static AbstractCommand |
getNrOfTracksInCurrentList()
Returns the command to get the number of tracks in the current playlist. |
static PlayerCommand |
getPlayerAddress(int index)
Returns the command to get the player address for the given index. |
static PlayerCommand |
getPlayerName(int index)
Gets command for getting the player name for a given index. |
ReturnData |
getReturnData(java.lang.String aLine,
java.lang.String playerPrefix)
Makes sure the command gets executed, the result will be returned using a ReturnData object |
Methods inherited from class com.breeweb.slimconnect.commands.AbstractCommand |
expectStatus, getAsLine, getResultString, setExpectStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PLAYER
public static final java.lang.String CMD_COUNT
public static final java.lang.String CMD_NAME
public static final java.lang.String CMD_ADDRESS
public static final java.lang.String PLAYLIST
public static final java.lang.String CMD_PLAYLIST_CURRENT_TRACK
public static final java.lang.String CMD_PLAYLIST_NR_OF_TRACKS
Method Detail |
public static PlayerCommand getNrOfPlayers()
public static PlayerCommand getPlayerName(int index)
index
- the index represents the index in the player array of the Squeezebox server.
Slimp3Delegate
public static PlayerCommand getPlayerAddress(int index)
index
- the index represents the index in the player array of the Squeezebox server.
Slimp3Delegate
public static AbstractCommand getCurrentTrackInPlaylist()
Slimp3Delegate
public static AbstractCommand getNrOfTracksInCurrentList()
Slimp3Delegate
public ReturnData getReturnData(java.lang.String aLine, java.lang.String playerPrefix)
AbstractCommand
getReturnData
in class AbstractCommand
aLine
- the command as line.playerPrefix
- the prefix of the player to which this command is targeted.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |