net.i2p.router.transport.udp
Interface ACKBitfield


public interface ACKBitfield

Generic means of SACK/NACK transmission for partially or fully received messages


Method Summary
 int fragmentCount()
          how many fragments are covered in this bitfield?
 long getMessageId()
          what message is this partially ACKing?
 boolean received(int fragmentNum)
          has the given fragment been received?
 boolean receivedComplete()
          has the entire message been received completely?
 

Method Detail

getMessageId

public long getMessageId()
what message is this partially ACKing?


fragmentCount

public int fragmentCount()
how many fragments are covered in this bitfield?


received

public boolean received(int fragmentNum)
has the given fragment been received?


receivedComplete

public boolean receivedComplete()
has the entire message been received completely?