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

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

    Constructors
    Constructor
    Description
    LastMessageChunk(byte msgId, int chunkNo, io.netty.buffer.ByteBuf content)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    replace(io.netty.buffer.ByteBuf content)
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class org.drasyl.handler.stream.MessageChunk

    chunkNo, equals, hashCode, msgId

    Methods inherited from class io.netty.buffer.DefaultByteBufHolder

    content, contentToString, copy, duplicate, refCnt, release, release, retain, retain, retainedDuplicate, touch, touch

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LastMessageChunk

      public LastMessageChunk(byte msgId, int chunkNo, io.netty.buffer.ByteBuf content)
      Deprecated.
      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