Class NioLoopContext


  • public class NioLoopContext
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • executorService

        private final java.util.concurrent.ExecutorService executorService
      • threadFactory

        private final java.util.concurrent.ThreadFactory threadFactory
      • readBuffer

        final java.nio.ByteBuffer readBuffer
      • writeBuffer

        final java.nio.ByteBuffer writeBuffer
    • Method Detail

      • initStateIfNecessary

        void initStateIfNecessary()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • startIoLoops

        private void startIoLoops()
      • cleanUp

        protected boolean cleanUp()