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.
-
LoopThread()
-
-
discontinue()
- After this has been called the loop() method will not be reentered
once it has exited and the thread will die.
-
loop()
- Override this method with what goes inside the loop
-
run()
-
LoopThread
public LoopThread()
run
public final void run()
- Overrides:
- run in class Thread
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.
loop
protected abstract void loop()
- Override this method with what goes inside the loop
All Packages Class Hierarchy This Package Previous Next Index