Class LastMessageChunk

  • All Implemented Interfaces:
    io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

    public class LastMessageChunk
    extends MessageChunk
    Represents the very last chunk of a message that is too large to be transmitted as a whole.
    See Also:
    MessageChunk, ChunkedMessageInput
    • Constructor Detail

      • LastMessageChunk

        public LastMessageChunk​(byte msgId,
                                int chunkNo,
                                io.netty.buffer.ByteBuf content)
        Parameters:
        msgId - id of the message to which this chunk belongs
        chunkNo - number of this chunk (starting with 0)
        content - message's content portion of this chunk