Class GoBackNArqFirstData

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.drasyl.handler.arq.gobackn.GoBackNArqFirstData
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted, GoBackNArqMessage

public class GoBackNArqFirstData extends io.netty.buffer.DefaultByteBufHolder
First data message of the Go-Back-N ARQ protocol.
  • Field Details

  • Constructor Details

    • GoBackNArqFirstData

      public GoBackNArqFirstData(io.netty.buffer.ByteBuf content)
  • Method Details

    • toString

      public String toString()
    • sequenceNo

      public UnsignedInteger sequenceNo()
      Specified by:
      sequenceNo in interface GoBackNArqMessage
      Returns:
      message's sequence number
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.netty.buffer.DefaultByteBufHolder
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.netty.buffer.DefaultByteBufHolder