Class NonWorkingContentChannel

    • Constructor Detail

      • NonWorkingContentChannel

        public NonWorkingContentChannel()
    • Method Detail

      • write

        public void write​(ByteBuffer buf,
                          CompletionHandler handler)
        Description copied from interface: ContentChannel
        Schedules the given ByteBuffer to be written to the content corresponding to this ContentChannel. This call transfers ownership of the given ByteBuffer to this ContentChannel, i.e. no further calls can be made to the buffer. The execution of writes happen in the same order as this method was invoked.
        Specified by:
        write in interface ContentChannel
        Parameters:
        buf - The ByteBuffer to schedule for write. No further calls can be made to this buffer.
        handler - The CompletionHandler to call after the write has been executed.