java.lang.Object
net.i2p.router.tunnel.pool.TunnelPool.LeaseTunnels
Enclosing class:
TunnelPool

private static class TunnelPool.LeaseTunnelsextends Object
Selected tunnels for a LeaseSet build: the quality-sorted GOOD (or fallback UNTESTED) tunnels and the single best zero-hop tunnel.
  • Field Details

    • good

      final List<TunnelInfo> good
      The tunnels chosen for the lease set.
    • zeroHop

      final TunnelInfo zeroHop
      A zero-hop tunnel, used only if the good list is short.
  • Constructor Details

    • LeaseTunnels

      LeaseTunnels(List<TunnelInfo> good, TunnelInfo zeroHop)
      Holds the tunnels picked for a lease set.
      Parameters:
      good - the chosen tunnels
      zeroHop - the fallback zero-hop tunnel