agentland.device
Interface DummyDevice

All Superinterfaces:
Agent, Device, Good, Managed, Remote, Spy
All Known Implementing Classes:
DummyDeviceAgent

public interface DummyDevice
extends Device

Interface for DummyDeviceAgent.

See Also:
Device

Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 boolean changeColor()
          Toggle the color.
 
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
 

Method Detail

changeColor

public boolean changeColor()
                    throws RemoteException
Toggle the color.
Returns:
true on success, false otherwise
Throws:
RemoteException - if an error occurs