public final class TorrentDeletedAlert extends TorrentAlert<torrent_deleted_alert>
The ``info_hash`` is the info-hash of the torrent that was just deleted. Most of the time the torrent_handle in the ``torrent_alert`` will be invalid by the time this alert arrives, since the torrent is being deleted. The ``info_hash`` member is hence the main way of identifying which torrent just completed the delete.
This alert is posted in the ``storage_notification`` category, and that bit needs to be set in the alert_mask.
alertALL_CATEGORIES, BLOCK_PROGRESS_NOTIFICATION, DEBUG_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, STATS_NOTIFICATION, STATUS_NOTIFICATION, STORAGE_NOTIFICATION, TORRENT_LOG_NOTIFICATION, TRACKER_NOTIFICATION, UPLOAD_NOTIFICATION| Constructor and Description |
|---|
TorrentDeletedAlert(torrent_deleted_alert alert) |
| Modifier and Type | Method and Description |
|---|---|
Sha1Hash |
getInfoHash() |
handle, torrentNamepublic TorrentDeletedAlert(torrent_deleted_alert alert)
public Sha1Hash getInfoHash()