public class IOLoop<T extends Message>
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
private Controller |
assignedController |
private Connection |
c |
| Constructor and Description |
|---|
IOLoop(Connection c,
Controller controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(T message) |
void |
run() |
private void |
startConnectionLoop() |
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 Connection c
private final Controller assignedController
public IOLoop(Connection c, Controller controller)
public void notify(T message)
private void startConnectionLoop()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread