Class ScrapeFailedAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.TrackerAlert<scrape_failed_alert>
com.frostwire.jlibtorrent.alerts.ScrapeFailedAlert
- All Implemented Interfaces:
Alert<scrape_failed_alert>
If a scrape request fails, this alert is generated. This might be due
to the tracker timing out, refusing connection or returning an http response
code indicating an error.
-
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 TypeMethodDescriptionerror()The error itself.If the error indicates there is an associated message, this returns that message.Methods inherited from class com.frostwire.jlibtorrent.alerts.TrackerAlert
localEndpoint, trackerUrlMethods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Constructor Details
-
ScrapeFailedAlert
-
-
Method Details
-
error
The error itself. This may indicate that the tracker sent an error message (``error::tracker_failure``), in which case it can be retrieved by callingerrorMessage().- Returns:
-
errorMessage
If the error indicates there is an associated message, this returns that message. Otherwise and empty string.- Returns:
-