Class FilePrioAlert

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

public class FilePrioAlert extends TorrentAlert<com.frostwire.jlibtorrent.swig.file_prio_alert>
Posted when a or update of the file priorities complete, which requires a round-trip to the disk thread.

If the disk operation fails this alert won't be posted, but a is posted instead, and the torrent is stopped.

  • Method Details

    • error

      public ErrorCode error()
      The error code describing the error.
      Returns:
      the error.
    • operation

      public Operation operation()
      Indicates which underlying operation that failed.
      Returns:
      the operation.