Package org.drasyl.handler.arq.gobackn
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 Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class io.netty.buffer.DefaultByteBufHolder
content, contentToString, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, touch, touch
-
Field Details
-
sequenceNo
-
-
Constructor Details
-
GoBackNArqFirstData
public GoBackNArqFirstData(io.netty.buffer.ByteBuf content)
-
-
Method Details
-
toString
-
sequenceNo
- Specified by:
sequenceNo
in interfaceGoBackNArqMessage
- Returns:
- message's sequence number
-
equals
- Overrides:
equals
in classio.netty.buffer.DefaultByteBufHolder
-
hashCode
public int hashCode()- Overrides:
hashCode
in classio.netty.buffer.DefaultByteBufHolder
-