agentland.device
Interface CDPlayer

All Superinterfaces:
Agent, Player, Remote
All Known Implementing Classes:
CDPlayerAgent

public interface CDPlayer
extends Player


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 int getIntCDStatus()
           
 boolean getPowerStatus()
           
 String getStringCDStatus()
           
 void nextDisc()
           
 void nextTrack()
           
 void pause()
           
 void play()
           
 void playSong(int disc, int track)
          Play a specific song.
 void previousDisc()
           
 void previousTrack()
           
 void setDisc(int ch)
           
 void setPowerStatus(boolean on)
           
 void setTrack(int ch)
           
 void stop()
           
 void turnOff()
           
 void turnOn()
           
 
Methods inherited from interface agentland.device.intelliCD.Player
play, resume
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Method Detail

setPowerStatus

public void setPowerStatus(boolean on)
                    throws RemoteException

getPowerStatus

public boolean getPowerStatus()
                       throws RemoteException

turnOn

public void turnOn()
            throws RemoteException

turnOff

public void turnOff()
             throws RemoteException

setDisc

public void setDisc(int ch)
             throws RemoteException

setTrack

public void setTrack(int ch)
              throws RemoteException

play

public void play()
          throws RemoteException

stop

public void stop()
          throws RemoteException
Specified by:
stop in interface Player

pause

public void pause()
           throws RemoteException
Specified by:
pause in interface Player

nextTrack

public void nextTrack()
               throws RemoteException

previousTrack

public void previousTrack()
                   throws RemoteException

nextDisc

public void nextDisc()
              throws RemoteException

previousDisc

public void previousDisc()
                  throws RemoteException

getStringCDStatus

public String getStringCDStatus()
                         throws RemoteException

getIntCDStatus

public int getIntCDStatus()
                   throws RemoteException

playSong

public void playSong(int disc,
                     int track)
              throws RemoteException
Play a specific song.