Class TransportHelperFilterTransparent

    • Field Detail

      • is_plain

        private final boolean is_plain
      • read_insert

        private java.nio.ByteBuffer read_insert
    • Constructor Detail

      • TransportHelperFilterTransparent

        public TransportHelperFilterTransparent​(TransportHelper _transport,
                                                boolean _is_plain)
    • Method Detail

      • insertRead

        protected void insertRead​(java.nio.ByteBuffer _read_insert)
      • 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
      • write

        public int write​(java.nio.ByteBuffer buffer,
                         boolean partial_write)
                  throws java.io.IOException
        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
      • read

        public int read​(java.nio.ByteBuffer buffer)
                 throws java.io.IOException
        Throws:
        java.io.IOException