java.lang.Object
net.i2p.client.streaming.impl.PacketDispatcher.Entry
- Enclosing class:
PacketDispatcher
Queue element: keeps the already-resolved connection with its packet.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ConnectionThe connection the packet belongs to, resolved before queueing.(package private) final PacketThe packet to process, payload still held until it is drained.Constructor Summary
ConstructorsConstructorDescriptionEntry(Connection con, Packet packet) Pairs the two so a retired shard can free the payload on its own.Method Summary
Field Details
con
The connection the packet belongs to, resolved before queueing.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 unmatchedpacket- the packet to process