Package com.iizix.server
Class WorkerThread
java.lang.Object
com.iizix.server.WorkerThread
- All Implemented Interfaces:
Runnable
A worker thread class for the server.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionWorkerThread
(Worker worker, Runnable disposeRunnable) Constructs the worker thread.Method Summary
Constructor Details
WorkerThread
Constructs the worker thread.- Parameters:
worker
- The worker.disposeRunnable
- Runnable that is called when the thread exits due to failure.- Throws:
NullPointerException
- if
Method Details