private static class NetIoTestAll.ServerWorkThread extends AbstractNetIoTest.ServerWorkThread
| 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, yieldpublic ServerWorkThread(java.net.Socket socket)
socket - the socket to communicate onpublic void run()
run in interface java.lang.Runnablerun in class AbstractNetIoTest.ServerWorkThread