Interface SelectionKeyHandler

    • Method Detail

      • onAccept

        void onAccept​(java.nio.channels.SelectionKey sk)
               throws java.io.IOException
        Throws:
        java.io.IOException
      • closeSelectionKey

        void closeSelectionKey​(java.nio.channels.SelectionKey key)
      • onWrite

        void onWrite​(java.nio.channels.SelectionKey key)
      • onRead

        void onRead​(java.nio.channels.SelectionKey key)
      • onConnect

        void onConnect​(java.nio.channels.SelectionKey key)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • closeChannel

        void closeChannel​(java.nio.channels.Selector selector)
                   throws java.io.IOException
        Throws:
        java.io.IOException