agentland.util
Interface Spy

All Superinterfaces:
Agent, Remote
All Known Subinterfaces:
AbstractDeviceManager, AlphaLEDSign, Apologizer, AppGrammar, Asker, Beeper, CatalogMessageListener, ComputerIDResolver, Confucius, ConfuciusClock, ConfuciusSign, ConfuciusWeb, ConnectionMaker, ConnectionMonitor, Daemon, Device, DeviceManager, DimmableLight, DisplayDevice, DisplayHTML, Drapes, DrapesManager, DrapesManagerSpeech, Exec, ForwardingResourceManager, Good, GrammarCenter, GrammarInspector, GuiAsker, GuiManager, GuiManagerDaemon, HTMLTextOutput, IR, Laurete, LEDManager, Light, LightManager, LightManagerSpeech, LogMonitor, LynX10, Managed, ManagedPowerPointDisplay, ManagedSpeech, ManagedWindowsWebBrowser, ManualProjectionScreen, ManualProjector, Mess, MSWindow, MultiDevice, MultimodalAsker, Mumble, Namer, NewsDisplay, NewsModel, NewsSign, NewsWallGui, NewsWallScroll, PowerPointDisplay, ProjectionScreen, ProjectionScreenMeta, ProjectionScreenSpeech, Projector, ProjectorManager, ProjectorManagerSpeech, RandomThought, Resolver, ResourceRetriever, SAM, SecretFinder, ShutUp, Society, Speech, SpeechOut, SpeechState, SpeechTextGetter, SuperSpy, Test, Test, TextGetter, TextOutput, Translator, TwoWayX10, WindowsWebBrowser, X10, X10DimmableLight, X10Drapes, X10Light, X10ProjectionScreen
All Known Implementing Classes:
GoodAgent

public interface Spy
extends Agent

This is the default Spy type agent--you do not need to use it.

See Also:
Agent

Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void tell(Secret secret)
          This is called if the Agent is to receive a particular secret.
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 

Method Detail

tell

public void tell(Secret secret)
          throws RemoteException
This is called if the Agent is to receive a particular secret.
Parameters:
secret - a Secret value
Throws:
RemoteException - if an error occurs