
com.frostwire.jlibtorrent.alerts.I2pAlert 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.i2p_alert;
/**
* this alert is used to report errors in the i2p SAM connection.
*
* @author gubatron
* @author aldenml
*/
public final class I2pAlert extends AbstractAlert {
public I2pAlert(i2p_alert alert) {
super(alert);
}
/**
* the error that occurred in the i2p SAM connection.
*
* @return
*/
public ErrorCode getError() {
return new ErrorCode(alert.getError());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy