private static class NetIoTestAll.ServerMainThread extends AbstractNetIoTest.ServerMainThread
| Modifier | Constructor and Description |
|---|---|
private |
ServerMainThread() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractNetIoTest.ServerWorkThread |
createThread(java.net.Socket serverSocket)
Factory method for creating a worker thread.
|
void |
run()
Executes the thread, i.e. waits for incoming connections.
|
setSocketactiveCount, 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 void run()
run in interface java.lang.Runnablerun in class AbstractNetIoTest.ServerMainThreadprotected AbstractNetIoTest.ServerWorkThread createThread(java.net.Socket serverSocket)
createThread in class AbstractNetIoTest.ServerMainThreadserverSocket - the socket to work on