Class TRTrackerScraperImpl
java.lang.Object
com.biglybt.core.tracker.client.impl.TRTrackerScraperImpl
- All Implemented Interfaces:
TRTrackerScraper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AllTrackersManager.AllTrackers
private final TRTrackerBTScraperImpl
private static final AEMonitor
private TRTrackerScraperClientResolver
private final TRTrackerDHTScraperImpl
private static final int
private final ListenerManager
private static TRTrackerScraperImpl
Fields inherited from interface com.biglybt.core.tracker.client.TRTrackerScraper
REFRESH_MINIMUM_SECS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static TRTrackerScraperImpl
create()
String[]
Object[]
getExtensions
(HashWrapper hash) boolean
isNetworkEnabled
(HashWrapper hash, URL url) boolean
peekScrape
(TOTorrent torrent, URL target_url) boolean
redirectTrackerUrl
(HashWrapper hash, URL old_url, URL new_url) void
void
scrape
(TRTrackerAnnouncer tracker_client) void
scrapeReceived
(TRTrackerScraperResponse response) void
void
setScrape
(TOTorrent torrent, URL target_url, DownloadScrapeResult result)
-
Field Details
-
singleton
-
class_mon
-
bt_scraper
-
dht_scraper
-
client_resolver
-
LDT_SCRAPE_RECEIVED
private static final int LDT_SCRAPE_RECEIVED- See Also:
-
listeners
-
all_trackers
-
-
Constructor Details
-
TRTrackerScraperImpl
protected TRTrackerScraperImpl()
-
-
Method Details
-
create
-
scrape
- Specified by:
scrape
in interfaceTRTrackerScraper
-
scrape
- Specified by:
scrape
in interfaceTRTrackerScraper
-
scrape
- Specified by:
scrape
in interfaceTRTrackerScraper
-
setScrape
- Specified by:
setScrape
in interfaceTRTrackerScraper
-
scrape
-
peekScrape
- Specified by:
peekScrape
in interfaceTRTrackerScraper
-
scrape
- Specified by:
scrape
in interfaceTRTrackerScraper
-
remove
- Specified by:
remove
in interfaceTRTrackerScraper
-
scrapeReceived
-
setClientResolver
- Specified by:
setClientResolver
in interfaceTRTrackerScraper
-
getClientResolver
-
isTorrentScrapable
-
isNetworkEnabled
-
getEnabledNetworks
-
getExtensions
-
redirectTrackerUrl
-
addListener
- Specified by:
addListener
in interfaceTRTrackerScraper
-
removeListener
- Specified by:
removeListener
in interfaceTRTrackerScraper
-