| Package | Description |
|---|---|
| net.i2p.router.transport.udp | The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport)
for I2P, allowing I2P messages to be passed over UDP connections. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean | PeerState.acked(PacketBuilder.Fragment f)An ACK of a fragment was received. |
| Modifier and Type | Method and Description |
|---|---|
UDPPacket | PacketBuilder2.buildPacket(List<PacketBuilder.Fragment> fragments,
List<SSU2Payload.Block> otherBlocks,
SSU2Sender peer)Build a packet from multiple fragments and optional other blocks. |
UDPPacket | PacketBuilder2.buildPacket(List<PacketBuilder.Fragment> fragments,
PeerState2 peer)Build a packet from multiple fragments. |
void | SSU2Sender.fragmentsSent(long pktNum,
int length,
List<PacketBuilder.Fragment> fragments) |
void | PeerStateDestroyed.fragmentsSent(long pktNum,
int length,
List<PacketBuilder.Fragment> fragments)fragmentsSent. |
void | PeerState2.fragmentsSent(long pktNum,
int length,
List<PacketBuilder.Fragment> fragments)Record the mapping of packet number to what fragments were in it,
so we can process acks. |
int | OutboundMessageState.push(List<PacketBuilder.Fragment> toSend)Add fragments up to the number of bytes allowed by setAllowedSendBytes()
Side effects: Clears setAllowedSendBytes. |