java.lang.Object
net.i2p.router.tunnel.pool.TunnelPool.LeaseTunnels
- Enclosing class:
TunnelPool
Selected tunnels for a LeaseSet build: the quality-sorted GOOD (or fallback UNTESTED) tunnels and the single best zero-hop tunnel.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List<TunnelInfo> The tunnels chosen for the lease set.(package private) final TunnelInfoA zero-hop tunnel, used only if the good list is short.Constructor Summary
ConstructorsConstructorDescriptionLeaseTunnels(List<TunnelInfo> good, TunnelInfo zeroHop) Holds the tunnels picked for a lease set.Method Summary
Field Details
good
The tunnels chosen for the lease set.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 tunnelszeroHop- the fallback zero-hop tunnel