TrackerReplyAlert
data class TrackerReplyAlert(val torrentName: String?, val trackerUrl: String, val localEndpoint: String, val numPeers: Int, val version: ProtocolVersion = ProtocolVersion.V1) : TrackerAlert
Informational alert generated when a tracker announce succeeds (UDP, HTTP or DHT). Ported from libtorrent::tracker_reply_alert (alert_type 15).
libtorrent renders <tracker-prefix> <v1|v2> received peers: <numPeers>.
Constructors
Link copied to clipboard
constructor(torrentName: String?, trackerUrl: String, localEndpoint: String, numPeers: Int, version: ProtocolVersion = ProtocolVersion.V1)
Properties
Link copied to clipboard
The bitmask of AlertCategory flags this alert belongs to. Mirrors alert::category(), which returns the concrete alert's static_category.
Link copied to clipboard
the local listen interface endpoint, already formatted.
Link copied to clipboard
the torrent's name, or null when the handle would be invalid (rendered as " - ", matching libtorrent).
Link copied to clipboard
the tracker URL being announced to.
Link copied to clipboard
the BitTorrent protocol version announced.