speech.test
Class RandomThoughtAgent

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--metaglue.AgentAgent
                          |
                          +--speech.test.RandomThoughtAgent

public class RandomThoughtAgent
extends AgentAgent
implements RandomThought

See Also:
Serialized Form

Inner classes inherited from class metaglue.AgentAgent
AgentAgent.Attribute
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Constructor Summary
RandomThoughtAgent()
           
RandomThoughtAgent(String packagename)
           
 
Method Summary
 String doDebug()
           
 String getRandomThought()
           
 String getRandomThought(String rulename)
           
 boolean isGrammarLoaded(String packagename)
           
 String listImports(String packagename)
           
 Vector listRuleNames(javax.speech.recognition.RuleGrammar rg)
           
 void loadGrammar(String packagename)
           
 String thoughtEngine(javax.speech.recognition.RuleAlternatives r)
           
 String thoughtEngine(javax.speech.recognition.RuleCount r)
           
 String thoughtEngine(javax.speech.recognition.RuleName r)
           
 String thoughtEngine(javax.speech.recognition.RuleParse r)
           
 String thoughtEngine(javax.speech.recognition.RuleSequence r)
           
 String thoughtEngine(javax.speech.recognition.RuleTag r)
           
 String thoughtEngine(javax.speech.recognition.RuleToken r)
           
 
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, 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
 

Constructor Detail

RandomThoughtAgent

public RandomThoughtAgent()
                   throws RemoteException

RandomThoughtAgent

public RandomThoughtAgent(String packagename)
                   throws RemoteException
Method Detail

isGrammarLoaded

public boolean isGrammarLoaded(String packagename)
                        throws RemoteException
Specified by:
isGrammarLoaded in interface RandomThought

listImports

public String listImports(String packagename)
                   throws RemoteException
Specified by:
listImports in interface RandomThought

loadGrammar

public void loadGrammar(String packagename)
                 throws RemoteException
Specified by:
loadGrammar in interface RandomThought

listRuleNames

public Vector listRuleNames(javax.speech.recognition.RuleGrammar rg)
                     throws RemoteException
Specified by:
listRuleNames in interface RandomThought

doDebug

public String doDebug()
               throws RemoteException
Specified by:
doDebug in interface RandomThought

getRandomThought

public String getRandomThought()
                        throws RemoteException
Specified by:
getRandomThought in interface RandomThought

getRandomThought

public String getRandomThought(String rulename)
                        throws RemoteException
Specified by:
getRandomThought in interface RandomThought

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleName r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleCount r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleAlternatives r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleSequence r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleTag r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleToken r)
                     throws RemoteException

thoughtEngine

public String thoughtEngine(javax.speech.recognition.RuleParse r)
                     throws RemoteException