java.lang.Runnable
protected class TNonblockingServer.SelectAcceptThread extends AbstractNonblockingServer.AbstractSelectThread
selectInterestChanges, selector
Constructor | Description |
---|---|
SelectAcceptThread(TNonblockingServerTransport serverTransport) |
Set up the thread that will handle the non-blocking accepts, reads, and
writes.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isStopped() |
|
void |
run() |
The work loop.
|
cleanupSelectionKey, handleRead, handleWrite, processInterestChanges, requestSelectInterestChange, wakeupSelector
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public SelectAcceptThread(TNonblockingServerTransport serverTransport) throws java.io.IOException
java.io.IOException