agentland.output
Class SerialAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.output.SerialAgent
- All Implemented Interfaces:
- Agent, MetagluePrimitives, Remote, Serial, Serializable
- 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 "host".
- 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, buildEHAFor, defrost, defrostAll, defrostBoolean, defrostInt, defrostString, fixAttribute, fixAttribute, freeze, freeze, freeze, freezeAll, freezeVar, getAgentID, getAttribute, getCatalog, getCatalogID, getDesignation, getFrozenVariables, getLogLevel, getMetaglueAgent, getMetaglueAgentID, getOccupation, getOldLogs, getProperties, getProxyHandlerClass, getSociety, installAPH, log, log, log, lookupClass, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, 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)