org.libtorrent4j.alerts.TrackerWarningAlert Maven / Gradle / Ivy
package org.libtorrent4j.alerts;
import org.libtorrent4j.swig.tracker_warning_alert;
/**
* This alert is triggered if the tracker reply contains a warning field. Usually this
* means that the tracker announce was successful, but the tracker has a message to
* the client.
*
* @author gubatron
* @author aldenml
*/
public final class TrackerWarningAlert extends TrackerAlert {
TrackerWarningAlert(tracker_warning_alert alert) {
super(alert);
}
/**
* The message associated with this warning.
*
* @return the warning
*/
public String warningMessage() {
return alert.warning_message();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy