private class CommandReceiver.CommandHandler.OneCommandCycle extends Thread
CommandReceiver.processCommand(stella.CommandEvent, int) method is
blocking.CommandReceiver.CommandHandler, because we need access to
the I/O streams
of the socket allocated in the command handler.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private CommandEvent |
todo
The command to execute.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
private |
OneCommandCycle(CommandEvent cmd)
Constructs a new single command cyle object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The run command.
|
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 CommandEvent todo
private OneCommandCycle(CommandEvent cmd)