Packages that use TrackerInfo
Package
Description
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
Uses of TrackerInfo in org.klomp.snark
Methods in org.klomp.snark that return TrackerInfoModifier and TypeMethodDescriptionprivate TrackerInfoTrackerClient.doRequest(TrackerClient.TCTracker tr, long uploaded, long downloaded, long left, int event) Announce - blocking, dispatches to HTTP or UDP by tracker type.private TrackerInfoTrackerClient.doRequestHTTP(TrackerClient.TCTracker tr, String infoHash, String peerID, long uploaded, long downloaded, long left, int event) HTTP - blocking.private TrackerInfoTrackerClient.doRequestUDP(TrackerClient.TCTracker tr, long uploaded, long downloaded, long left, int event) UDP - blocking.private TrackerInfoTrackerClient.doScrape(TrackerClient.TCTracker tr) Scrape for swarm composition from a tracker, BEP 15 (UDP) or BEP 48 (HTTP).private TrackerInfoTrackerClient.doScrapeHTTP(TrackerClient.TCTracker tr, String infoHash) Scrape for swarm composition from an HTTP tracker, BEP 48: the last path segment of the announce URL is replaced with "scrape" and any query string is dropped.Methods in org.klomp.snark with parameters of type TrackerInfoModifier and TypeMethodDescriptionprivate booleanTrackerClient.processScrapeResponse(TrackerClient.TCTracker tr, TrackerInfo scrape) Handle a successful scrape response: refresh the swarm composition and clear the tracker's error indicator — the response proves the tracker is reachable, so a "No response from..." announce failure no longer applies.private voidTrackerClient.updateInterval(TrackerClient.TCTracker tr, TrackerInfo info) Clamp the tracker interval to the minimum and record it.