java.lang.Object
net.i2p.util.SimpleTimer2.TimedEvent
net.i2p.router.tunnel.pool.ParticipatingThrottler.Disconnector
All Implemented Interfaces:
Runnable
Enclosing class:
ParticipatingThrottler

private class ParticipatingThrottler.Disconnectorextends SimpleTimer2.TimedEvent
Timer event that disconnects a router after a delay.
  • Field Details

    • h

      private final Hash h
      The router's hash.
    • version

      private final String version
      The router's version string.
  • Constructor Details

    • Disconnector

      public Disconnector(Hash h, String version)
      Force disconnect the peer on timer expiry.
      Parameters:
      h - the peer to disconnect when the timer fires
      version - the peer version named in the disconnect reason, null or empty gives a generic reason
  • Method Details