org.libtorrent4j.alerts.MetadataReceivedAlert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libtorrent4j Show documentation
Show all versions of libtorrent4j Show documentation
A swig Java interface for libtorrent
The newest version!
package org.libtorrent4j.alerts;
import org.libtorrent4j.swig.metadata_received_alert;
/**
* This alert is generated when the metadata has been completely received and the torrent
* can start downloading. It is not generated on torrents that are started with metadata, but
* only those that needs to download it from peers (when utilizing the libtorrent extension).
*
* Typically, when receiving this alert, you would want to save the torrent file in order
* to load it back up again when the session is restarted.
*
* @author gubatron
* @author aldenml
*/
public final class MetadataReceivedAlert extends TorrentAlert {
/**
* @param alert the native object
*/
MetadataReceivedAlert(metadata_received_alert alert) {
super(alert);
}
}