org.libtorrent4j.alerts.TrackeridAlert 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.trackerid_alert;
/**
* This alert is posted whenever a tracker responds with a ``trackerid``.
* The tracker ID is like a cookie. The libtorrent will store the tracker ID
* for this tracker and repeat it in subsequent announces.
*
* @author gubatron
* @author aldenml
*/
public final class TrackeridAlert extends TorrentAlert {
TrackeridAlert(trackerid_alert alert) {
super(alert);
}
/**
* The tracker ID returned by the tracker.
*
*
*/
public String trackerId() {
return alert.tracker_id();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy