Class 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

    • Method Detail

      • 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