Class TransportHelperFilterStream

    • Field Detail

      • write_buffer_pending_byte

        private java.nio.ByteBuffer write_buffer_pending_byte
    • Constructor Detail

      • TransportHelperFilterStream

        protected TransportHelperFilterStream​(TransportHelper _transport)
    • Method Detail

      • write

        public long write​(java.nio.ByteBuffer[] buffers,
                          int array_offset,
                          int length)
                   throws java.io.IOException
        Specified by:
        write in interface TransportHelperFilter
        Throws:
        java.io.IOException
      • read

        public long read​(java.nio.ByteBuffer[] buffers,
                         int array_offset,
                         int length)
                  throws java.io.IOException
        Specified by:
        read in interface TransportHelperFilter
        Throws:
        java.io.IOException
      • cryptoOut

        protected abstract void cryptoOut​(java.nio.ByteBuffer source_buffer,
                                          java.nio.ByteBuffer target_buffer)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • cryptoIn

        protected abstract void cryptoIn​(java.nio.ByteBuffer source_buffer,
                                         java.nio.ByteBuffer target_buffer)
                                  throws java.io.IOException
        Throws:
        java.io.IOException