agentland.device
Class HKAVR7000AmplifierAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.util.GoodAgent
                                |
                                +--agentland.resource.ManagedAgent
                                      |
                                      +--agentland.device.DeviceAgent
                                            |
                                            +--agentland.device.BaseAmplifierAgent
                                                  |
                                                  +--agentland.device.HKAVR7000AmplifierAgent
All Implemented Interfaces:
Agent, Amplifier, BaseAmplifier, Device, Good, HKAVR7000Amplifier, Managed, MetagluePrimitives, Remote, Serializable, Spy

public class HKAVR7000AmplifierAgent
extends BaseAmplifierAgent
implements HKAVR7000Amplifier

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class agentland.device.DeviceAgent
defaultState, fName, names, states
 
Fields inherited from class agentland.resource.ManagedAgent
rm, society
 
Fields inherited from class agentland.util.GoodAgent
alert, notifier
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
HKAVR7000AmplifierAgent()
           
 
Method Summary
 void mute()
           
 void nudgeDown()
           
 void nudgeUp()
           
 void resetMutedState()
           
 void resetVolumeLevelState()
           
 void setAmpState(int volumeLevel, boolean muted)
           
 void setVolume(int level)
           
 
Methods inherited from class agentland.device.BaseAmplifierAgent
connectionSet, getMuted, getVolumeLevel, resetState
 
Methods inherited from class agentland.device.DeviceAgent
addName, createStateChangeNotification, ensureState, getDefaultNames, getDefaultStateName, getName, getNames, getState, getState, getStateNames, hasName, quietException, resetAllStates, resetName, resetState, setDefaultStateName, setName, setState, throwException, updateState, updateState, updateState, updateState, updateState, updateState, updateState, updateState
 
Methods inherited from class agentland.resource.ManagedAgent
connect, getAlert, getNeed, isAvailable, isAvailable, reliesOn, reliesOn, replace, replace, request, request, request, requestAgent, requestAgent, resources, resourcesByAgentID, setNeed, tiedTo, yank, yank, yank
 
Methods inherited from class agentland.util.GoodAgent
addSpy, addSpy, alert, alertString, beep, error, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell
 
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, lookupClass, obtainMetaglueAgent, obtainMetaglueAgent, obtainMetaglueAgentByName, reliesOn, reliesOnSynch, removeFrozen, replaceExceptionHandler, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, whereAreYou
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface agentland.device.BaseAmplifier
getMuted, getVolumeLevel
 
Methods inherited from interface agentland.device.Device
addName, getName, getNames, getState, getState, getStateNames, hasName, resetAllStates, resetName, resetState, resetState, setName, setState
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Constructor Detail

HKAVR7000AmplifierAgent

public HKAVR7000AmplifierAgent()
                        throws RemoteException
Method Detail

resetVolumeLevelState

public void resetVolumeLevelState()
                           throws RemoteException
Specified by:
resetVolumeLevelState in interface BaseAmplifier

resetMutedState

public void resetMutedState()
                     throws RemoteException
Specified by:
resetMutedState in interface BaseAmplifier

nudgeUp

public void nudgeUp()
             throws RemoteException
Specified by:
nudgeUp in interface HKAVR7000Amplifier

nudgeDown

public void nudgeDown()
               throws RemoteException
Specified by:
nudgeDown in interface HKAVR7000Amplifier

setVolume

public void setVolume(int level)
               throws RemoteException
Specified by:
setVolume in interface HKAVR7000Amplifier

mute

public void mute()
          throws RemoteException
Specified by:
mute in interface HKAVR7000Amplifier

setAmpState

public void setAmpState(int volumeLevel,
                        boolean muted)
                 throws RemoteException
Specified by:
setAmpState in interface HKAVR7000Amplifier