uk.ac.man.cs.rainbow.simulator
Class Scheduler.ThreadingAdapter

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.simulator.Scheduler.ThreadingAdapter
All Implemented Interfaces:
Scheduler.ThreadingListener
Direct Known Subclasses:
StateEnumerator.ThreadWatch
Enclosing class:
Scheduler

public abstract static class Scheduler.ThreadingAdapter
extends Object
implements Scheduler.ThreadingListener

An empty implementation of a LabellingListener that is suitable for subclassing to get subsets of the full behaviour.


Constructor Summary
Scheduler.ThreadingAdapter()
           
 
Method Summary
 void threadStart(RainbowThread thread)
          Indicate that a thread has been created.
 void threadStop(RainbowThread thread)
          Indicate that a thread has terminated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler.ThreadingAdapter

public Scheduler.ThreadingAdapter()
Method Detail

threadStart

public void threadStart(RainbowThread thread)
Description copied from interface: Scheduler.ThreadingListener
Indicate that a thread has been created.
Specified by:
threadStart in interface Scheduler.ThreadingListener
Following copied from interface: uk.ac.man.cs.rainbow.simulator.Scheduler.ThreadingListener
Parameters:
thread - The thread that was created.
See Also:
RASM.Parallel

threadStop

public void threadStop(RainbowThread thread)
Description copied from interface: Scheduler.ThreadingListener
Indicate that a thread has terminated.
Specified by:
threadStop in interface Scheduler.ThreadingListener
Following copied from interface: uk.ac.man.cs.rainbow.simulator.Scheduler.ThreadingListener
Parameters:
thread - The thread that terminated.
See Also:
RASM.Exit