Class SocketChannelController

    • Field Detail

      • soLingerOn

        protected boolean soLingerOn
    • Constructor Detail

      • SocketChannelController

        public SocketChannelController()
      • SocketChannelController

        public SocketChannelController​(Configuration configuration)
    • Method Detail

      • setSoLinger

        public void setSoLinger​(boolean on,
                                int value)
      • dispatchReadEvent

        protected final void dispatchReadEvent​(java.nio.channels.SelectionKey key)
        Description copied from class: NioController
        Dispatch read event
        Specified by:
        dispatchReadEvent in class NioController
      • dispatchWriteEvent

        protected final void dispatchWriteEvent​(java.nio.channels.SelectionKey key)
        Description copied from class: NioController
        Dispatch write event
        Specified by:
        dispatchWriteEvent in class NioController
      • buildSession

        protected NioSession buildSession​(java.nio.channels.SocketChannel sc)
      • configureSocketChannel

        protected final void configureSocketChannel​(java.nio.channels.SocketChannel sc)
                                             throws java.io.IOException
        Confiure socket channel
        Parameters:
        sc -
        Throws:
        java.io.IOException