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 |
(package private) static String |
PROP_IMMEDIATE_ACK_DELAY |
| Constructor and Description |
|---|
ConnectionPacketHandler(I2PAppContext context) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
receivePacket(Packet packet,
Connection con)
Takes ownership of the packet and call packet.releasePayload() unless
it is passed to the MessageInputStream.
|
public static final int MAX_SLOW_START_WINDOW
static final String PROP_IMMEDIATE_ACK_DELAY
public ConnectionPacketHandler(I2PAppContext context)
void receivePacket(Packet packet, Connection con) throws I2PException
I2PException