java.lang.Object
org.klomp.snark.TrackerClient.DHTFetcher
All Implemented Interfaces:
Runnable
Enclosing class:
TrackerClient

private class TrackerClient.DHTFetcherextends Object implements Runnable
DHT peer lookup and announce, run off the announce loop thread so a slow or unreachable DHT cannot delay HTTP tracker announces or PEX.
  • Field Details

    • dht

      private final DHT dht
      The DHT to fetch peers from.
  • Constructor Details

    • DHTFetcher

      public DHTFetcher(DHT dht)
      Stores the DHT to fetch from.
      Parameters:
      dht - the DHT to query
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable