
com.frostwire.jlibtorrent.alerts.LsdErrorAlert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlibtorrent Show documentation
Show all versions of jlibtorrent Show documentation
A swig Java interface for libtorrent by the makers of FrostWire.
package com.frostwire.jlibtorrent.alerts;
import com.frostwire.jlibtorrent.ErrorCode;
import com.frostwire.jlibtorrent.swig.lsd_error_alert;
/**
* posted if the local service discovery socket fails to start properly.
* it's categorized as ``error_notification``.
*
* @author gubatron
* @author aldenml
*/
public final class LsdErrorAlert extends AbstractAlert {
public LsdErrorAlert(lsd_error_alert alert) {
super(alert);
}
/**
* The error code.
*
* @return
*/
public ErrorCode getError() {
return new ErrorCode(alert.getError());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy