agentland.debug
Class AgentTesterAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.debug.AgentTesterAgent
All Implemented Interfaces:
Agent, AgentTester, AgentTesterCommunication, MetagluePrimitives, Remote, Serializable
Direct Known Subclasses:
PowerTesterAgent

public class AgentTesterAgent
extends AgentAgent
implements AgentTester, AgentTesterCommunication

AgentTester agent The Intelligent Room/HAL Project MIT Artificial Intelligence Laboratory Cambridge, MA AgentTester is an agent which allows graphical interaction with the agent system in terms of relying on agents and invoking associated methods. This file contains: AgentTesterImpl -- agent that spawns AgentTesterFrame and is told by the AgentTesterFrame using the AgentTesterCommunication interface to open an MethodList window. AgentTesterCommunication - package access class so that AgentTesterFrame can tell AgentTesterImpl that a MethodList window has been requested AgentTesterFrame -- Start-up window that requests a string agent name, then hands it to AgentTesterImpl to rely on it and start it up with a MethodList InfoDialog -- modal dialog for presenting a few errors... MethodList -- window containing all the methods in an instantiated Agent so that they can be run. January, 1998 -- jjlilley, brenton

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Field Summary
static String HELP_MESSAGE
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
AgentTesterAgent()
           
 
Method Summary
protected  String fetchAgentCode(String code)
           
protected  Agent generateAgentCode(String society, String oname, String desig)
           
protected  String getHelpMessage()
           
protected  JPanel getTesterPanel()
           
 void popupRelyOn(String entered_name)
          when the mouse is pressed on the AgentTesterFrame, this method is called with the string in the text box, so that MethodList can be invoked.
protected  boolean removeAgentCode(String name)
           
 
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
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 

Field Detail

HELP_MESSAGE

public static final String HELP_MESSAGE
Constructor Detail

AgentTesterAgent

public AgentTesterAgent()
                 throws RemoteException
Method Detail

getTesterPanel

protected JPanel getTesterPanel()

getHelpMessage

protected String getHelpMessage()

removeAgentCode

protected boolean removeAgentCode(String name)

fetchAgentCode

protected String fetchAgentCode(String code)

generateAgentCode

protected Agent generateAgentCode(String society,
                                  String oname,
                                  String desig)

popupRelyOn

public void popupRelyOn(String entered_name)
when the mouse is pressed on the AgentTesterFrame, this method is called with the string in the text box, so that MethodList can be invoked.
Specified by:
popupRelyOn in interface AgentTesterCommunication