agentland.device.light
Interface Light

All Superinterfaces:
Agent, Device, Good, Managed, Remote, Spy
All Known Subinterfaces:
DimmableLight, LightManager, X10DimmableLight, X10Light
All Known Implementing Classes:
LightAgent

public interface Light
extends Device

Basic interface for any light source

See Also:
Device

Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 UncertainValue isOn()
           
 boolean turnOff()
           
 boolean turnOn()
           
 
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

turnOn

public boolean turnOn()
               throws RemoteException

turnOff

public boolean turnOff()
                throws RemoteException

isOn

public UncertainValue isOn()
                    throws RemoteException