java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.transport.TransportManager.OutboundMaintainerEvent
All Implemented Interfaces:
Runnable
Enclosing class:
TransportManager

private class TransportManager.OutboundMaintainerEventextends SimpleTimer2.TimedEvent
Periodically ensures we have enough outbound connections to Fast peers.

The transport layer creates outbound connections on-demand when a message needs to be sent. However, in low-traffic scenarios or when the I2P+ pre-send check blocks sends to unconnected peers, outbound connections can dry up, causing tunnel build failures ("first hop unreachable").

This maintainer runs every 60 seconds, checks how many outbound connections we have to Fast/HiCap peers, and proactively establishes new ones if the count is below the threshold.

  • Constructor Details

    • OutboundMaintainerEvent

      public OutboundMaintainerEvent()
      Creates a timer on the shared simple timer pool.
  • Method Details