Class SaveResumeDataAlert
java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<save_resume_data_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<save_resume_data_alert>
com.frostwire.jlibtorrent.alerts.SaveResumeDataAlert
- All Implemented Interfaces:
Alert<save_resume_data_alert>
This alert is generated as a response to a ``torrent_handle::save_resume_data`` request.
It is generated once the disk IO thread is done writing the state for this 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 TypeMethodDescriptionparams()Theparamsstructure is populated with the fields to be passed toSessionHandle.addTorrent(AddTorrentParams, ErrorCode)orSessionHandle.asyncAddTorrent(AddTorrentParams)to resume the torrent.Methods inherited from class com.frostwire.jlibtorrent.alerts.TorrentAlert
handle, torrentName
-
Method Details
-
params
Theparamsstructure is populated with the fields to be passed toSessionHandle.addTorrent(AddTorrentParams, ErrorCode)orSessionHandle.asyncAddTorrent(AddTorrentParams)to resume the torrent. To save the state to disk, you may pass it on towrite_resume_data().- Returns:
- the params object
-