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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PacketHandler
public PacketHandler(I2PAppContext ctx,
ConnectionManager mgr)
receivePacket
void receivePacket(Packet packet)
receivePacketDirect
void receivePacketDirect(Packet packet,
boolean queueIfNoConn)
displayPacket
void displayPacket(Packet packet,
String prefix,
String suffix)
- logs to router log at debug level