private class PacketServer.ReceiverThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private long |
blink |
private boolean |
cancel |
private boolean |
force |
private PacketInputStream |
in |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
private |
ReceiverThread(PacketInputStream socket,
long smallwait) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
We set the cancel flag to true, this will terminate the sender
thread on next wakeup.
|
void |
run() |
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, yieldprivate final PacketInputStream in
private boolean cancel
private final boolean force
private final long blink
private ReceiverThread(PacketInputStream socket, long smallwait)