Inheritance diagram for sfi.director.util.TimeoutThread:

Once started, the timeout thread waits the configured amount of time and then interrupts the parent thread. If the TimeoutThread is interrupted before the timeout is over the parent thread is not going to be interrupted.
Public Member Functions | |
| TimeoutThread () | |
| TimeoutThread (long timeout) | |
| Setup and start timeout thread with the given timeout for the current thread. | |
| void | work () |
| void | setParent (Thread master) |
| Set parent thread. | |
| void | setTimeout (long timeout) |
| Set timeout in milliseconds. | |
Package Attributes | |
| Thread | needAbort = null |
| long | timeout = 1 |
|
|
|
|
|
Setup and start timeout thread with the given timeout for the current thread.
|
|
|
Set parent thread. The object is created with the parent being the current thread. So, usually it is unnecessary to explicitly setParent(). |
|
|
Set timeout in milliseconds.
|
|
|
Reimplemented from sfi.director.util.DirectorThread. |
|
|
|
|
|
|
1.4.5