class TCPSocketServer.ClientProcessorThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
(package private) Vector<Thread> |
clientThreadList |
protected int |
debug_ |
private boolean |
killFlag_ |
(package private) int |
maxBlockTime_ms |
(package private) int |
numActive_ |
(package private) ArrayBlockingQueue<Thread> |
q_ |
private boolean |
shutDownFlag_ |
(package private) int |
sleepTime |
(package private) int |
waiter |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ClientProcessorThread(ArrayBlockingQueue<Thread> q) |
ClientProcessorThread(ArrayBlockingQueue<Thread> q,
int blockTime_ms) |
Modifier and Type | Method and Description |
---|---|
void |
kill() |
void |
run() |
void |
shutDown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected int debug_
Vector<Thread> clientThreadList
int numActive_
private boolean shutDownFlag_
private boolean killFlag_
int waiter
int sleepTime
int maxBlockTime_ms
public ClientProcessorThread(ArrayBlockingQueue<Thread> q)
public ClientProcessorThread(ArrayBlockingQueue<Thread> q, int blockTime_ms)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses