All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.dorm4.util.LoopThread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----org.dorm4.util.LoopThread

public abstract class LoopThread
extends Thread
This thread will call the loop() method until it is discontinued.


Constructor Index

 o LoopThread()

Method Index

 o discontinue()
After this has been called the loop() method will not be reentered once it has exited and the thread will die.
 o loop()
Override this method with what goes inside the loop
 o run()

Constructors

 o LoopThread
 public LoopThread()

Methods

 o run
 public final void run()
Overrides:
run in class Thread
 o discontinue
 public final void discontinue()
After this has been called the loop() method will not be reentered once it has exited and the thread will die.

 o loop
 protected abstract void loop()
Override this method with what goes inside the loop


All Packages  Class Hierarchy  This Package  Previous  Next  Index