Package net.i2p.client.streaming.impl
Class ConnectionPacketHandler
java.lang.Object
net.i2p.client.streaming.impl.ConnectionPacketHandler
Receive a packet for a particular connection - placing the data onto the
queue, marking packets as acked, updating various fields, etc.
I2PSession -> MessageHandler -> PacketHandler -> ConnectionPacketHandler -> MessageInputStream
One of these is instantiated per-Destination (i.e. per-ConnectionManager, not per-Connection). It doesn't store any state.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
receivePacket
(Packet packet, Connection con) distribute a packet to the connection specified
-
Field Details
-
MAX_SLOW_START_WINDOW
public static final int MAX_SLOW_START_WINDOW- See Also:
-
-
Constructor Details
-
ConnectionPacketHandler
-
-
Method Details
-
receivePacket
distribute a packet to the connection specified- Throws:
I2PException
-