public final class ServerThread
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
void |
interrupt() |
void |
run() |
static void |
start(TesterSocket s,
CommandHandler c,
int wait)
Start a thread to process request to/from the bc4j-tester
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static void start(TesterSocket s, CommandHandler c, int wait)
s - the testersocket to use for the messagesc - the command handler to process the requestswait - time in ms to wait between listening for requestspublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void interrupt()
interrupt in class java.lang.Thread