Class ReactiveClientAgent

java.lang.Object
  extended byjava.lang.Thread
      extended bylime.StationaryAgent
          extended byReactiveClientAgent
All Implemented Interfaces:
java.util.EventListener, ILimeAgent, ReactionListener, java.lang.Runnable, java.io.Serializable

public class ReactiveClientAgent
extends StationaryAgent
implements ReactionListener

See Also:
Serialized Form

Field Summary
(package private)  LimeTupleSpace lts
           
(package private)  RegisteredReaction[] rr
           
 
Fields inherited from class lime.StationaryAgent
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReactiveClientAgent()
           
 
Method Summary
 void reactsTo(ReactionEvent mre)
          This method is invoked automatically by the system when the corresponding reaction must be fired.
 void run()
           
 
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

LimeTupleSpace lts

rr

RegisteredReaction[] rr
Constructor Detail

ReactiveClientAgent

public ReactiveClientAgent()
Method Detail

run

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

reactsTo

public void reactsTo(ReactionEvent mre)
Description copied from interface: ReactionListener
This method is invoked automatically by the system when the corresponding reaction must be fired.

Specified by:
reactsTo in interface ReactionListener
Parameters:
mre - the event that triggered the reaction.