public final class AddTorrentAlert extends TorrentAlert<add_torrent_alert>
TorrentAlert.handle() member.
If adding the torrent failed, error() contains the error code.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| Modifier and Type | Method and Description |
|---|---|
ErrorCode |
error()
Set to the error, if one occurred while adding the torrent.
|
AddTorrentParams |
params()
A copy of the parameters used when adding the torrent, it can be used
to identify which invocation to
SessionHandle.asyncAddTorrent(AddTorrentParams)
caused this alert. |
handle, torrentNamepublic AddTorrentParams params()
SessionHandle.asyncAddTorrent(AddTorrentParams)
caused this alert.public ErrorCode error()