Class TrackerReplyAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<tracker_reply_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<tracker_reply_alert>
com.frostwire.jlibtorrent.alerts.TrackerAlert<tracker_reply_alert>
com.frostwire.jlibtorrent.alerts.TrackerReplyAlert
- All Implemented Interfaces:
Alert<tracker_reply_alert>
This alert is only for informational purpose. It is generated when a tracker announce
succeeds. It is generated regardless what kind of tracker was used, be it UDP, HTTP or
the DHT.
-
Field Summary
Fields inherited from class com.frostwire.jlibtorrent.alerts.AbstractAlert
alertFields inherited from interface com.frostwire.jlibtorrent.alerts.Alert
ALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, CONNECT_NOTIFICATION, DHT_LOG_NOTIFICATION, DHT_NOTIFICATION, DHT_OPERATION_NOTIFICATION, ERROR_NOTIFICATION, FILE_PROGRESS_NOTIFICATION, INCOMING_REQUEST_NOTIFICATION, IP_BLOCK_NOTIFICATION, PEER_LOG_NOTIFICATION, PEER_NOTIFICATION, PERFORMANCE_WARNING, PICKER_LOG_NOTIFICATION, PIECE_PROGRESS_NOTIFICATION, PORT_MAPPING_LOG_NOTIFICATION, PORT_MAPPING_NOTIFICATION, SESSION_LOG_NOTIFICATION, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnumPeers()Tells how many peers the tracker returned in this response.Methods inherited from class com.frostwire.jlibtorrent.alerts.TrackerAlert
localEndpoint, trackerUrlMethods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Constructor Details
-
TrackerReplyAlert
-
-
Method Details
-
numPeers
public int numPeers()Tells how many peers the tracker returned in this response. This is not expected to be more thant the ``num_want`` settings. These are not necessarily all new peers, some of them may already be connected.- Returns:
- the number of peers
-