| Package | Description |
|---|---|
| net.i2p.client.streaming.impl | Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages. |
| Modifier and Type | Method and Description |
|---|---|
PacketLocal | ConnectionDataReceiver.send(byte[] buf,
int off,
int size)Send some data through the connection, attaching any appropriate flags
onto the packet. |
PacketLocal | ConnectionDataReceiver.send(byte[] buf,
int off,
int size,
boolean forceIncrement)Called externally from Connection with args (null, 0, 0, true) to send an empty data packet |
| Modifier and Type | Method and Description |
|---|---|
List<PacketLocal> | Connection.ackPackets(long ackThrough,
long[] nacks)Process the acks and nacks received in a packet. |
| Modifier and Type | Method and Description |
|---|---|
boolean | PacketQueue.enqueue(PacketLocal packet)Add a new packet to be sent out ASAP. |
(package private) Connection.ResendPacketEvent | Connection.newResendPacketEvent(PacketLocal packet)A new ResendPacketEvent. |
(package private) void | Connection.sendPacket(PacketLocal packet)This sends all 'normal' packets (acks and data) for the first time. |
void | MessageInputStream.updateAcks(PacketLocal packet)Updates the ACK and NACK fields of a packet based on current stream state. |
void | PcapWriter.write(PacketLocal pkt)Write an outbound packet to the pcap file. |
| Constructor and Description |
|---|
ResendPacketEvent(PacketLocal packet)ResendPacketEvent. |