public static class AbstractNetIoTest.ServerWorkThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
private java.net.Socket |
socket
Stores the socket.
|
| Constructor and Description |
|---|
ServerWorkThread(java.net.Socket socket)
Creates the working thread for the given socket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Performs the communication work, i.e. receives data according to
a simple protocol.
|
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