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