agentland.output
Class SerialAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.output.SerialAgent
- public abstract class SerialAgent
- extends AgentAgent
- implements Serial
Serial agent for dealing with contention for the Serial ports
The Intelligent Room/HAL Project
MIT Artificial Intelligence Laboratory
Cambridge, MA
The designation for this agent must be the full path-name
for the serial port which to go through.
It is automatically tied to machine specified in attribute "machine".
- See Also:
- Serialized Form
Constructor Summary |
SerialAgent()
Simply ties the Serial agent to proper host so that it can be used. |
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,
obtainMetaglueAgent,
obtainMetaglueAgent,
obtainMetaglueAgentByName,
reliesOn,
reliesOn,
reliesOn,
reliesOnSynch,
removeFrozen,
replaceExceptionHandler,
setFreezeName,
setLogLevel,
setLogName,
shutdown,
startAgent,
startAgentOn,
startAgentOn,
startup,
status,
tiedTo,
tiedTo,
tiedTo,
tiedTo,
tieToDesignation,
whereAreYou |
serial
protected Serial serial
host
protected AgentAgent.Attribute host
serialPort
protected String serialPort
SerialAgent
public SerialAgent()
throws RemoteException
- Simply ties the Serial agent to proper host so that it can be used.
The actual Serial object is retrieved.
resetSerial
public void resetSerial()
throws RemoteException
- Closes the serial ir port, then tries to reopen it isomg ensureSrialIR
loadSerial
protected abstract Serial loadSerial(String serialPort)