agentland.rufus
Interface Confucius

All Superinterfaces:
Agent, Good, Remote, Spy
All Known Subinterfaces:
ConfuciusClock, ConfuciusSign, Mumble
All Known Implementing Classes:
ConfuciusAgent

public interface Confucius
extends Good


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void addSaying(String saying)
           
 String getSaying()
           
 String getSayingNumber(int i)
           
 void listSayings()
          Print to console.
 int numSayings()
           
 void setSaying(int ind, String saying)
           
 void useSayingBase(String mapname)
          Use the saying database that the Conf.
 
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

addSaying

public void addSaying(String saying)
               throws RemoteException

setSaying

public void setSaying(int ind,
                      String saying)
               throws RemoteException

getSaying

public String getSaying()
                 throws RemoteException

numSayings

public int numSayings()
               throws RemoteException

getSayingNumber

public String getSayingNumber(int i)
                       throws RemoteException

listSayings

public void listSayings()
                 throws RemoteException
Print to console.

useSayingBase

public void useSayingBase(String mapname)
                   throws RemoteException
Use the saying database that the Conf. Agent of the given designation mapname would use.