agentland.util
Interface SuperSpy

All Superinterfaces:
Agent, Good, Managed, Remote, Spy
All Known Implementing Classes:
SuperSpyAgent

public interface SuperSpy
extends Managed


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 Vector getAllSecrets()
           
 Vector query(String s)
           
 void saySomething()
           
 void tell(Secret s)
          This is called if the Agent is to receive a particular secret.
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 

Method Detail

tell

public void tell(Secret s)
          throws RemoteException
Description copied from interface: Spy
This is called if the Agent is to receive a particular secret.
Specified by:
tell in interface Spy
Following copied from interface: agentland.util.Spy
Parameters:
secret - a Secret value
Throws:
RemoteException - if an error occurs

getAllSecrets

public Vector getAllSecrets()
                     throws RemoteException,
                            SQLException

saySomething

public void saySomething()
                  throws RemoteException

query

public Vector query(String s)
             throws RemoteException,
                    SQLException