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 |
---|---|
OutboundMessageState |
PeerState.allocateSend()
Pick a message we want to send and allocate it out of our window
|
Modifier and Type | Method and Description |
---|---|
int |
PeerState.add(OutboundMessageState state) |
void |
OutboundMessageFragments.add(OutboundMessageState state)
short circuit the OutNetMessage, letting us send the establish
complete message reliably
|
UDPPacket |
PacketBuilder.buildPacket(OutboundMessageState state,
int fragment,
PeerState peer,
List<Long> ackIdsRemaining,
List<ACKBitfield> partialACKsRemaining)
This builds a data packet (PAYLOAD_TYPE_DATA).
|
void |
UDPTransport.failed(OutboundMessageState msg) |
(package private) void |
UDPTransport.failed(OutboundMessageState msg,
boolean allowPeerFailure) |
void |
UDPTransport.succeeded(OutboundMessageState msg) |