Class ScrapeReplyAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<scrape_reply_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<scrape_reply_alert>
com.frostwire.jlibtorrent.alerts.TrackerAlert<scrape_reply_alert>
com.frostwire.jlibtorrent.alerts.ScrapeReplyAlert
- All Implemented Interfaces:
Alert<scrape_reply_alert>
This alert is generated when a scrape request succeeds.
-
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 TypeMethodDescriptionintthe data returned in the scrape response.intthe data returned in the scrape response.Methods inherited from class com.frostwire.jlibtorrent.alerts.TrackerAlert
localEndpoint, trackerUrlMethods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Constructor Details
-
ScrapeReplyAlert
-
-
Method Details
-
getIncomplete
public int getIncomplete()the data returned in the scrape response. These numbers may be -1 if the reponse was malformed.- Returns:
-
getComplete
public int getComplete()the data returned in the scrape response. These numbers may be -1 if the reponse was malformed.- Returns:
-