|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dictccfe.and.Thr
public abstract class Thr
Basic class for implementing and controlling background jobs.
Field Summary | |
---|---|
private boolean |
m_goon
If the background job has to continue. |
private java.lang.Thread |
m_thr
The thread running the background job. |
Constructor Summary | |
---|---|
Thr()
Initializes an empty object of this class. |
Method Summary | |
---|---|
protected boolean |
getGoon()
If the background job has to continue. |
abstract void |
run()
Implements the job executed in the background. |
void |
start()
Starts the background job. |
void |
stop()
Stops the background job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.Thread m_thr
private boolean m_goon
Constructor Detail |
---|
public Thr()
Method Detail |
---|
protected final boolean getGoon()
public abstract void run()
run
in interface java.lang.Runnable
public final void start()
public final void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |