agentland.debug.launcher
Class LauncherSpeechAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--agentland.debug.launcher.LauncherSpeechAgent
All Implemented Interfaces:
Agent, LauncherSpeech, MetagluePrimitives, Remote, RemoteTagsListener, Serializable

public class LauncherSpeechAgent
extends AgentAgent
implements LauncherSpeech, RemoteTagsListener

A LauncherSpeech agent listens for commands from a user directing it to start other agents, or respond with queries as to whether specific agents are alive or not. Launcher acquires knowledge about which agents it can start and query by user input via addLaunchableAgent(). it keeps track of agents it knows about in a PersistantMap.

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Field Summary
protected  SpeechOut speech
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
LauncherSpeechAgent()
           
 
Method Summary
 void acceptedTagsResult(Hashtable tags)
           
 void addLaunchableAgent(String spoken_text, AgentID agentid)
           
 void addLaunchableAgent(String spoken_text, String agentid)
           
 void updateGrammar()
           
 void updateGrammar(Secret s)
           
 
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

speech

protected SpeechOut speech
Constructor Detail

LauncherSpeechAgent

public LauncherSpeechAgent()
                    throws RemoteException
Method Detail

acceptedTagsResult

public void acceptedTagsResult(Hashtable tags)
                        throws RemoteException
Specified by:
acceptedTagsResult in interface RemoteTagsListener

updateGrammar

public void updateGrammar(Secret s)
                   throws RemoteException
Specified by:
updateGrammar in interface LauncherSpeech

updateGrammar

public void updateGrammar()
                   throws RemoteException
Specified by:
updateGrammar in interface LauncherSpeech

addLaunchableAgent

public void addLaunchableAgent(String spoken_text,
                               String agentid)
                        throws RemoteException
Specified by:
addLaunchableAgent in interface LauncherSpeech

addLaunchableAgent

public void addLaunchableAgent(String spoken_text,
                               AgentID agentid)
                        throws RemoteException
Specified by:
addLaunchableAgent in interface LauncherSpeech