agentland.device
Class BlindsAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.device.BlindsAgent
- All Implemented Interfaces:
- Agent, Blinds, MetagluePrimitives, Remote, Serializable
- public class BlindsAgent
- extends AgentAgent
- implements Blinds
Blinds agent
The Intelligent Room/HAL Project
MIT Artificial Intelligence Laboratory
Cambridge, MA
Controls the blinds using the IR agent. Blinds do not know status
and if reversed will continue to remain reversed.
A blind operation takes approximately 5000 ms. A 500ms signal
is sent to the BIRD, then exits. If another blinds operation happens
within the 5000ms operation time, the beginning waitUntilReady()
call sleeps until that time is up.
Relies on: IR-/dev/ttyrg
tiedTo: none
- 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 |
BlindsAgent
public BlindsAgent()
throws RemoteException
open
public void open()
throws RemoteException
- Specified by:
open
in interface Blinds
close
public void close()
throws RemoteException
- Specified by:
close
in interface Blinds
release
public void release()
throws RemoteException
setOpenStatus
public void setOpenStatus(boolean open)
throws RemoteException
- Specified by:
setOpenStatus
in interface Blinds
getOpenStatus
public boolean getOpenStatus()
throws RemoteException
- Specified by:
getOpenStatus
in interface Blinds