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
- Direct Known Subclasses:
- ApologizerAgent, AskerAgent, ShutUpAgent, TestAgent
- 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,
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,
obtainMetaglueAgent,
obtainMetaglueAgent,
obtainMetaglueAgentByName,
reliesOn,
reliesOn,
reliesOn,
reliesOnSynch,
removeFrozen,
replaceExceptionHandler,
setFreezeName,
setLogLevel,
setLogName,
shutdown,
startAgent,
startAgentOn,
startAgentOn,
startup,
status,
tiedTo,
tiedTo,
tiedTo,
tiedTo,
tieToDesignation,
whereAreYou |
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