java.lang.Object
net.i2p.router.transport.udp.UDPPacket.PacketFactory
All Implemented Interfaces:
TryCache.ObjectFactory<UDPPacket>
Enclosing class:
UDPPacket

private static class UDPPacket.PacketFactoryextends Object implements TryCache.ObjectFactory<UDPPacket>
Factory for UDP packet caching. Provides new instances for the TryCache.
  • Field Details

    • context

      static volatile RouterContext context
      I2P context for logging.
  • Constructor Details

    • PacketFactory

      private PacketFactory()
      Creates packets for the reuse cache.
  • Method Details