Class NioBufferWriter


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

      • tmpWriteSelectorLock

        protected final java.lang.Object tmpWriteSelectorLock
      • socketChannel

        private java.nio.channels.SocketChannel socketChannel
    • Constructor Detail

      • NioBufferWriter

        public NioBufferWriter​(java.nio.channels.SocketChannel socketChannel,
                               TcpTimeouts tcpTimeouts)
    • Method Detail

      • write

        void write​(java.nio.ByteBuffer byteBuffer)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • closeTemporaryWriteSelector

        void closeTemporaryWriteSelector()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getTemporaryWriteSelector

        TemporarySelector getTemporaryWriteSelector​(java.nio.channels.SocketChannel socketChannel1)
                                             throws java.io.IOException
        Throws:
        java.io.IOException