public final class StateChangedAlert extends TorrentAlert<state_changed_alert>
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 |
|---|
StateChangedAlert(state_changed_alert alert) |
| Modifier and Type | Method and Description |
|---|---|
TorrentStatus.State |
getPrevState()
The previous state.
|
TorrentStatus.State |
getState()
The new state of the torrent.
|
handle, torrentNamepublic StateChangedAlert(state_changed_alert alert)
public TorrentStatus.State getState()
public TorrentStatus.State getPrevState()