Package net.i2p.client.streaming.impl
Class PacketHandler
java.lang.Object
net.i2p.client.streaming.impl.PacketHandler
class PacketHandler extends Object
receive a packet and dispatch it correctly to the connection specified,
the server socket, or queue a reply RST packet.
I2PSession -> MessageHandler -> PacketHandler -> ConnectionPacketHandler -> MessageInputStream
-
Constructor Summary
Constructors Constructor Description PacketHandler(I2PAppContext ctx, ConnectionManager mgr)
-
Method Summary
Modifier and Type Method Description (package private) void
displayPacket(Packet packet, String prefix, String suffix)
logs to router log at debug level(package private) void
receivePacket(Packet packet)
(package private) void
receivePacketDirect(Packet packet, boolean queueIfNoConn)
-
Constructor Details
-
Method Details
-
receivePacket
-
receivePacketDirect
-
displayPacket
logs to router log at debug level
-