java.lang.Object
net.i2p.client.streaming.impl.PacketDispatcher.Entry
Enclosing class:
PacketDispatcher

static final class PacketDispatcher.Entryextends Object
Queue element: keeps the already-resolved connection with its packet.
  • Field Details

    • con

      final Connection con
      The connection the packet belongs to, resolved before queueing.
    • packet

      final Packet packet
      The packet to process, payload still held until it is drained.
  • Constructor Details

    • Entry

      Entry(Connection con, Packet packet)
      Pairs the two so a retired shard can free the payload on its own.
      Parameters:
      con - the connection the packet belongs to, null if unmatched
      packet - the packet to process