Interface ChannelPipedSink

    • Method Detail

      • receive

        void receive​(byte[] bytes,
                     int off,
                     int len)
              throws IOException
        Parameters:
        bytes - Bytes to be sent to the sink
        off - Offset in buffer
        len - Number of bytes
        Throws:
        IOException - If failed to send the data
      • eof

        void eof()
        Signal end of writing to the sink