Class LastMessageChunk

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.drasyl.handler.stream.MessageChunk
org.drasyl.handler.stream.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:
  • Constructor Details

    • LastMessageChunk

      public LastMessageChunk(byte msgId, byte 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
  • Method Details