speech.tools
Class SpeechAgent
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--metaglue.AgentAgent
|
+--agentland.util.GoodAgent
|
+--speech.tools.SpeechAgent
- All Implemented Interfaces:
- Agent, Good, MetagluePrimitives, Remote, RemoteTagsListener, Serializable, Speech, Spy
- Direct Known Subclasses:
- ShutUpAgent
- public abstract class SpeechAgent
- extends GoodAgent
- implements Speech, RemoteTagsListener
- See Also:
- Serialized Form
Methods inherited from class agentland.util.GoodAgent |
addSpy, addSpy, alert, alertString, beep, error, getAlert, getHistory, getHistoryElement, getPersistentMap, log, notify, removeSpy, removeSpy, resetHistory, safeRely, safeRely, safeRely, setNiceLogName, tell |
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, lookupClass, reliesOn, reliesOn, reliesOn, reliesOnSynch, removeAPHFromCatalog, removeFrozen, setFreezeName, setLogLevel, setLogName, shutdown, startAgent, startAgentOn, startAgentOn, startup, status, tiedTo, tiedTo, tiedTo, tiedTo, tieToDesignation, toString, whereAreYou |
Methods inherited from interface agentland.util.Spy |
tell |
voice
protected SpeechOut voice
SpeechAgent
public SpeechAgent()
throws RemoteException
loadGrammar
protected AppGrammar loadGrammar(String grammar_name)
loadGrammar
protected AppGrammar loadGrammar()
- Build a default grammar name and try that.
say
protected void say(String str)
saySync
protected void saySync(String str)
getDictation
protected String getDictation()
throws RemoteException
acceptedTagsResult
public abstract void acceptedTagsResult(Hashtable tags)
throws RemoteException
- Specified by:
acceptedTagsResult
in interface RemoteTagsListener