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
This is a base class for alerts that are associated with a
specific torrent. It contains a handle to the torrent.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionhandle()The torrent_handle pointing to the torrent this alert is associated with.
-
Method Details
-
handle
The torrent_handle pointing to the torrent this alert is associated with.- Returns:
-
torrentName
- Returns:
- the name of the torrent download
-