Class TorrentAlert<T extends torrent_alert>

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<T>
com.frostwire.jlibtorrent.alerts.TorrentAlert<T>
All Implemented Interfaces:
Alert<T>
Direct Known Subclasses:
AddTorrentAlert, CacheFlushedAlert, FastresumeRejectedAlert, FileCompletedAlert, FileErrorAlert, FileRenamedAlert, FileRenameFailedAlert, HashFailedAlert, MetadataFailedAlert, MetadataReceivedAlert, PeerAlert, PeerBlockedAlert, PerformanceAlert, PieceFinishedAlert, ReadPieceAlert, SaveResumeDataAlert, SaveResumeDataFailedAlert, StateChangedAlert, StorageMovedAlert, StorageMovedFailedAlert, TorrentCheckedAlert, TorrentDeletedAlert, TorrentDeleteFailedAlert, TorrentErrorAlert, TorrentFinishedAlert, TorrentLogAlert, TorrentNeedCertAlert, TorrentPausedAlert, TorrentRemovedAlert, TorrentResumedAlert, TrackerAlert, TrackeridAlert, UrlSeedAlert

public class TorrentAlert<T extends torrent_alert> extends AbstractAlert<T>
This is a base class for alerts that are associated with a specific torrent. It contains a handle to the torrent.
  • Method Details

    • handle

      public TorrentHandle handle()
      The torrent_handle pointing to the torrent this alert is associated with.
      Returns:
    • torrentName

      public String torrentName()
      Returns:
      the name of the torrent download