Class TorrentRemovedAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<torrent_removed_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<torrent_removed_alert>
com.frostwire.jlibtorrent.alerts.TorrentRemovedAlert
- All Implemented Interfaces:
Alert<torrent_removed_alert>
The ``torrent_removed_alert`` is posted whenever a torrent is removed. Since
the torrent handle in its baseclass will always be invalid (since the torrent
is already removed) it has the info hash as a member, to identify it.
It's posted when the ``status_notification`` bit is set in the alert_mask.
Even though the ``handle`` member doesn't point to an existing torrent anymore, it is still useful for comparing to other handles, which may also no longer point to existing torrents, but to the same non-existing torrents.
The ``torrent_handle`` acts as a ``weak_ptr``, even though its object no longer exists, it can still compare equal to another weak pointer which points to the same non-existent object.
-
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
Methods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Method Details
-
infoHash
-