Class TNonblockingServer.SelectAcceptThread

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isStopped()  
      void run()
      The work loop.
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, 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, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SelectAcceptThread

        public SelectAcceptThread​(TNonblockingServerTransport serverTransport)
                           throws java.io.IOException
        Set up the thread that will handle the non-blocking accepts, reads, and writes.
        Throws:
        java.io.IOException
    • Method Detail

      • isStopped

        public boolean isStopped()
      • run

        public void run()
        The work loop. Handles both selecting (all IO operations) and managing the selection preferences of all existing connections.
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread