agentland.device
Class TunerAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.device.TunerAgent
- All Implemented Interfaces:
- Agent, MetagluePrimitives, Remote, Serializable, Tuner
- public class TunerAgent
- extends AgentAgent
- implements Tuner
- See Also:
- Serialized Form
Methods inherited from class metaglue.AgentAgent |
addMonitor, alive, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getProperties, getSociety, log, log, log, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou |
TunerAgent
public TunerAgent()
throws RemoteException
setPowerStatus
public void setPowerStatus(boolean on)
throws RemoteException
- Use this to set the power status if it's wrong
- Specified by:
setPowerStatus
in interface Tuner
getPowerStatus
public boolean getPowerStatus()
throws RemoteException
- Specified by:
getPowerStatus
in interface Tuner
goPreset
public void goPreset(int number)
throws RemoteException
- Specified by:
goPreset
in interface Tuner
muteOn
public void muteOn()
throws RemoteException
- Specified by:
muteOn
in interface Tuner
muteOff
public void muteOff()
throws RemoteException
- Specified by:
muteOff
in interface Tuner
resetStatus
public void resetStatus()
throws RemoteException
- turns volume down to 0, then brings back up to 5
- Specified by:
resetStatus
in interface Tuner
getRelativeBaseVolume
public int getRelativeBaseVolume()
throws RemoteException
setRelativeBaseVolume
public void setRelativeBaseVolume(int i)
throws RemoteException
volumeUp
public void volumeUp()
throws RemoteException
- Specified by:
volumeUp
in interface Tuner
volumeDown
public void volumeDown()
throws RemoteException
- Specified by:
volumeDown
in interface Tuner
volumeContinuousUp
public void volumeContinuousUp()
throws RemoteException
- Specified by:
volumeContinuousUp
in interface Tuner
volumeContinuousDown
public void volumeContinuousDown()
throws RemoteException
- Specified by:
volumeContinuousDown
in interface Tuner
stopContinuousVolume
public void stopContinuousVolume()
throws RemoteException
- Specified by:
stopContinuousVolume
in interface Tuner
togglePower
public void togglePower()
throws RemoteException
- Specified by:
togglePower
in interface Tuner
turnOn
public void turnOn()
throws RemoteException
- Specified by:
turnOn
in interface Tuner
turnOff
public void turnOff()
throws RemoteException
- Specified by:
turnOff
in interface Tuner
inputCD
public void inputCD()
throws RemoteException
- Specified by:
inputCD
in interface Tuner
inputTuner
public void inputTuner()
throws RemoteException
- Specified by:
inputTuner
in interface Tuner
inputTV
public void inputTV()
throws RemoteException
- Specified by:
inputTV
in interface Tuner
inputVCR1
public void inputVCR1()
throws RemoteException
- Specified by:
inputVCR1
in interface Tuner
inputVCR2
public void inputVCR2()
throws RemoteException
- Specified by:
inputVCR2
in interface Tuner
inputAUX
public void inputAUX()
throws RemoteException
input
public void input(String what)
throws RemoteException
- Specified by:
input
in interface Tuner
getMuteStatus
public boolean getMuteStatus()
throws RemoteException
- Specified by:
getMuteStatus
in interface Tuner
setMuteStatus
public void setMuteStatus(boolean b)
throws RemoteException
- Specified by:
setMuteStatus
in interface Tuner
getStringInputStatus
public String getStringInputStatus()
throws RemoteException
- Specified by:
getStringInputStatus
in interface Tuner
getIntInputStatus
public int getIntInputStatus()
throws RemoteException
- Specified by:
getIntInputStatus
in interface Tuner