metaglue
Interface Agent

All Known Subinterfaces:
AbstractDeviceManager, AgentTester, Apologizer, AppGrammar, Asker, AttributeManager, Beeper, Catalog, CatalogMessageListener, Connectable, ConnectionMaker, Device, DeviceManager, DimmableLight, Drapes, DrapesManager, DrapesManagerSpeech, EmptyResourceManager, Exec, Good, GrammarCenter, Group, Happy, IR, Laurete, Light, LightManager, LightManagerSpeech, LocalLogManager, Logger, LogMonitor, LoudMouth, LoudMouthTest, LynX10, Managed, ManualProjectionScreen, ManualProjector, Mess, MessGroup, Metaglue, MSWindow, MSWindowsDisplay, MultiDevice, Namer, Notifier, PowerPointDisplay, PowerTester, ProjectionScreen, ProjectionScreenMeta, ProjectionScreenSpeech, Projector, RandomThought, RemoteGrammarActivation, RemoteTagsListener, ResourceManager, ResourceRetriever, Serial, ShutUp, Society, SoundManager, SoundTest, Speech, SpeechOut, Spy, Test, Test, TestGrammar, TwoWayX10, TypeWriter, UserInfo, Verbose, Voice, Watcher, WindowsWebBrowser, X10, X10DimmableLight, X10Drapes, X10Light, X10ProjectionScreen
All Known Implementing Classes:
AgentAgent

public interface Agent
extends Remote


Field Summary
static int ALIVE
           
static int DIED
           
static int NO_METAGLUE
           
static int NOT_RUNNING
           
static int STARTING
           
 
Method Summary
 void addMonitor(Spy monitor)
          Add a log monitor that gets all the screen output.
 boolean alive()
           
 AgentID getAgentID()
           
 AgentID getMetaglueAgentID()
           
 void shutdown()
           
 void startup()
           
 InetAddress whereAreYou()
          Returns the InetAddress of the machine where the agent is running
 

Field Detail

NOT_RUNNING

public static final int NOT_RUNNING

DIED

public static final int DIED

NO_METAGLUE

public static final int NO_METAGLUE

STARTING

public static final int STARTING

ALIVE

public static final int ALIVE
Method Detail

alive

public boolean alive()
              throws RemoteException

getAgentID

public AgentID getAgentID()
                   throws RemoteException

startup

public void startup()
             throws RemoteException

shutdown

public void shutdown()
              throws RemoteException

getMetaglueAgentID

public AgentID getMetaglueAgentID()
                           throws RemoteException

whereAreYou

public InetAddress whereAreYou()
                        throws RemoteException
Returns the InetAddress of the machine where the agent is running

addMonitor

public void addMonitor(Spy monitor)
                throws RemoteException
Add a log monitor that gets all the screen output.