class ConnectionPacketHandler extends Object
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.
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SLOW_START_WINDOW |
Constructor and Description |
---|
ConnectionPacketHandler(I2PAppContext context) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
receivePacket(Packet packet,
Connection con)
distribute a packet to the connection specified
|
public static final int MAX_SLOW_START_WINDOW
public ConnectionPacketHandler(I2PAppContext context)
void receivePacket(Packet packet, Connection con) throws I2PException
I2PException