java.lang.Object
net.i2p.router.tunnel.pool.TunnelPool.ScanResult
- Enclosing class:
TunnelPool
Result of a pool scan: the chosen tunnel (or null), the backlogged fallback candidate, and the recorded last-resort tunnel.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final TunnelInfoA tunnel held back for backlog, used if needed.(package private) final TunnelInfoThe tunnel selected for a lease.(package private) final TunnelInfoA tunnel used only when nothing better exists.Constructor Summary
ConstructorsConstructorDescriptionScanResult(TunnelInfo chosen, TunnelInfo backlogged, TunnelInfo lastResort) Holds one pass over the tunnel list.Method Summary
Field Details
chosen
The tunnel selected for a lease.backlogged
A tunnel held back for backlog, used if needed.lastResort
A tunnel used only when nothing better exists.
Constructor Details
ScanResult
ScanResult(TunnelInfo chosen, TunnelInfo backlogged, TunnelInfo lastResort) Holds one pass over the tunnel list.- Parameters:
chosen- the tunnel selectedbacklogged- the tunnel held for backloglastResort- the fallback tunnel