lime.motes
Class MoteInteractiveAgent

java.lang.Object
  extended byjava.lang.Thread
      extended bylime.StationaryAgent
          extended bylime.motes.MoteInteractiveAgent
All Implemented Interfaces:
IConsoleProvider, ILimeAgent, java.lang.Runnable, java.io.Serializable

public class MoteInteractiveAgent
extends StationaryAgent
implements IConsoleProvider

An interactive agent used for testing the tuple spaces. A user interface appears where the user can directly perform tuple space operations on a default tuple space.

See Also:
Serialized Form

Field Summary
(package private)  LimeConsole c
           
(package private)  MoteLimeTupleSpace lts
           
 
Fields inherited from class lime.StationaryAgent
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MoteInteractiveAgent()
           
 
Method Summary
 LimeConsole getConsole()
          Retrieves the console from the provider.
 void run()
           
 void setConsole(LimeConsole c)
          Associates the given console to the provider object.
 
Methods inherited from class lime.StationaryAgent
getMgr
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lts

MoteLimeTupleSpace lts

c

LimeConsole c
Constructor Detail

MoteInteractiveAgent

public MoteInteractiveAgent()
                     throws LimeException
Method Detail

setConsole

public void setConsole(LimeConsole c)
Description copied from interface: IConsoleProvider
Associates the given console to the provider object.

Specified by:
setConsole in interface IConsoleProvider

getConsole

public LimeConsole getConsole()
Description copied from interface: IConsoleProvider
Retrieves the console from the provider.

Specified by:
getConsole in interface IConsoleProvider

run

public void run()
Specified by:
run in interface java.lang.Runnable