Package | Description |
---|---|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
Modifier and Type | Method and Description |
---|---|
ACKBitfield |
InboundMessageState.createACKBitfield() |
ACKBitfield[] |
UDPPacketReader.DataReader.readACKBitfields() |
Modifier and Type | Method and Description |
---|---|
List<ACKBitfield> |
PeerState.retrieveACKBitfields()
grab a list of ACKBitfield instances, some of which may fully
ACK a message while others may only partially ACK a message.
|
List<ACKBitfield> |
PeerState.retrieveACKBitfields(boolean alwaysIncludeRetransmissions) |
Modifier and Type | Method and Description |
---|---|
void |
PeerState.acked(ACKBitfield bitfield) |
boolean |
OutboundMessageState.acked(ACKBitfield bitfield)
Ack all the fragments in the ack list.
|
void |
OutboundMessageFragments.acked(ACKBitfield bitfield,
Hash ackedBy) |
Modifier and Type | Method and Description |
---|---|
UDPPacket |
PacketBuilder.buildACK(PeerState peer,
List<ACKBitfield> ackBitfields)
Build the ack packet.
|
UDPPacket |
PacketBuilder.buildPacket(OutboundMessageState state,
int fragment,
PeerState peer,
List<Long> ackIdsRemaining,
List<ACKBitfield> partialACKsRemaining)
This builds a data packet (PAYLOAD_TYPE_DATA).
|
(package private) void |
PeerState.fetchPartialACKs(List<ACKBitfield> rv) |