Class HashFailedAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<com.frostwire.jlibtorrent.swig.hash_failed_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<com.frostwire.jlibtorrent.swig.hash_failed_alert>
com.frostwire.jlibtorrent.alerts.HashFailedAlert
All Implemented Interfaces:
Alert<com.frostwire.jlibtorrent.swig.hash_failed_alert>

public final class HashFailedAlert extends TorrentAlert<com.frostwire.jlibtorrent.swig.hash_failed_alert>
This alert is generated when a finished piece fails its hash check. You can get the handle to the torrent which got the failed piece and the index of the piece itself from the alert.
  • Method Details

    • pieceIndex

      public int pieceIndex()