public interface Controllable
|Modifier and Type||Method and Description|
Adds the specified ThreadDoneListener to receive thread done events.
Set the thread controller.
Causes this thread to begin execution; the Java Virtual Machine calls the
void setThreadController(ThreadController threadController)
threadController- the thread controller to use.
void addThreadDoneListener(ThreadDoneListener l)
runmethod of this thread.
The result is that two threads are running concurrently: the
current thread (which returns from the call to the
start method) and the other thread (which executes its
java.lang.IllegalThreadStateException- if the thread was already started.
Copyright 1998-2018 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.must.de