java.lang.Object
org.klomp.snark.Tracker
Represents a known BitTorrent tracker with its configuration and capabilities.
This immutable class stores tracker information including:
- Human-readable name for display
- Announce URL for torrent registrations
- Base web URL for tracker web interfaces
- Capability flags (e.g., supports detailed responses)
Trackers are used by TrackerClient to announce torrent status and discover peers.
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe URL a client posts its infohash to for peer discovery.final StringThe tracker's web site, shown as a link in the config page; null when it has none.final StringThe tracker's host name, also used to infer whether it serves scrape details.final booleanTrue for the hosts known to serve a per-torrent details page.Constructor Summary
Method Summary
Field Details
name
The tracker's host name, also used to infer whether it serves scrape details.announceURL
The URL a client posts its infohash to for peer discovery.baseURL
The tracker's web site, shown as a link in the config page; null when it has none.supportsDetails
public final boolean supportsDetailsTrue for the hosts known to serve a per-torrent details page.
Constructor Details
Tracker