speech.test
Interface RandomThought

All Superinterfaces:
Agent, Good, Remote, Spy
All Known Implementing Classes:
RandomThoughtAgent

public interface RandomThought
extends Good


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 boolean containsRule(String sGrammarName, String sRuleName)
           
 String getRandomSentence(String sGrammarName, String sRuleName)
           
 boolean isGrammarLoaded(String sGrammarName)
           
 ArrayList listRuleNames(String sGrammarName)
           
 boolean loadGrammar(String sPackageName)
           
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

loadGrammar

public boolean loadGrammar(String sPackageName)
                    throws RemoteException

isGrammarLoaded

public boolean isGrammarLoaded(String sGrammarName)
                        throws RemoteException

listRuleNames

public ArrayList listRuleNames(String sGrammarName)
                        throws RemoteException

containsRule

public boolean containsRule(String sGrammarName,
                            String sRuleName)
                     throws RemoteException

getRandomSentence

public String getRandomSentence(String sGrammarName,
                                String sRuleName)
                         throws RemoteException