Class TRTrackerDHTScraperImpl
- java.lang.Object
-
- com.biglybt.core.tracker.client.impl.dht.TRTrackerDHTScraperImpl
-
public class TRTrackerDHTScraperImpl extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static AEMonitor
class_mon
private java.util.Map<HashWrapper,TRTrackerDHTScraperResponseImpl>
responses
private TRTrackerScraperImpl
scraper
protected static TRTrackerDHTScraperImpl
singleton
-
Constructor Summary
Constructors Modifier Constructor Description protected
TRTrackerDHTScraperImpl(TRTrackerScraperImpl _scraper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TRTrackerDHTScraperImpl
create(TRTrackerScraperImpl _scraper)
TRTrackerScraperResponse
peekScrape(TOTorrent torrent, java.net.URL unused_target_url)
void
remove(TOTorrent torrent)
TRTrackerScraperResponse
scrape(TOTorrent torrent, java.net.URL unused_target_url, boolean unused_force)
TRTrackerScraperResponse
scrape(TRTrackerAnnouncer tracker_client)
void
setScrape(TOTorrent torrent, java.net.URL url, DownloadScrapeResult result)
-
-
-
Field Detail
-
singleton
protected static TRTrackerDHTScraperImpl singleton
-
class_mon
protected static final AEMonitor class_mon
-
scraper
private final TRTrackerScraperImpl scraper
-
responses
private final java.util.Map<HashWrapper,TRTrackerDHTScraperResponseImpl> responses
-
-
Constructor Detail
-
TRTrackerDHTScraperImpl
protected TRTrackerDHTScraperImpl(TRTrackerScraperImpl _scraper)
-
-
Method Detail
-
create
public static TRTrackerDHTScraperImpl create(TRTrackerScraperImpl _scraper)
-
setScrape
public void setScrape(TOTorrent torrent, java.net.URL url, DownloadScrapeResult result)
-
scrape
public TRTrackerScraperResponse scrape(TOTorrent torrent, java.net.URL unused_target_url, boolean unused_force)
-
peekScrape
public TRTrackerScraperResponse peekScrape(TOTorrent torrent, java.net.URL unused_target_url)
-
scrape
public TRTrackerScraperResponse scrape(TRTrackerAnnouncer tracker_client)
-
remove
public void remove(TOTorrent torrent)
-
-