interface ACKBitfield
| Modifier and Type | Method and Description |
|---|---|
int |
ackCount()
Number of fragments acked in this bitfield.
|
int |
fragmentCount()
Get how many fragments are covered in this bitfield.
|
long |
getMessageId()
Get the message ID this is partially ACKing.
|
int |
highestReceived()
Highest fragment number acked in this bitfield.
|
boolean |
received(int fragmentNum)
Check if the given fragment has been received.
|
boolean |
receivedComplete()
Check if the entire message has been received completely.
|
int ackCount()
int fragmentCount()
long getMessageId()
int highestReceived()
boolean received(int fragmentNum)
fragmentNum - fragment number to checkboolean receivedComplete()