* If the error is logged, log it at the given level.
*/
public final static class IgnoreAndLog extends ErrorAction {
* If the error is logged, log it at the given level.
*/
public final static class IgnoreAndLog extends ErrorAction {
private IgnoreAndLog(long ptr, bindings.LDKErrorAction.IgnoreAndLog obj) {
super(null, ptr);
this.ignore_and_log = obj.ignore_and_log;
private IgnoreAndLog(long ptr, bindings.LDKErrorAction.IgnoreAndLog obj) {
super(null, ptr);
this.ignore_and_log = obj.ignore_and_log;
/**
* The peer may have done something harmless that we weren't able to meaningfully process,
* though we should still tell them about it.
* If this event is logged, log it at the given level.
*/
/**
* The peer may have done something harmless that we weren't able to meaningfully process,
* though we should still tell them about it.
* If this event is logged, log it at the given level.
*/
long ret = bindings.ErrorAction_clone(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_clone(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_disconnect_peer(msg == null ? 0 : msg.ptr & ~1);
Reference.reachabilityFence(msg);
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_disconnect_peer(msg == null ? 0 : msg.ptr & ~1);
Reference.reachabilityFence(msg);
if (ret >= 0 && ret <= 4096) { return null; }
public static ErrorAction ignore_error() {
long ret = bindings.ErrorAction_ignore_error();
if (ret >= 0 && ret <= 4096) { return null; }
public static ErrorAction ignore_error() {
long ret = bindings.ErrorAction_ignore_error();
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_ignore_and_log(a);
Reference.reachabilityFence(a);
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_ignore_and_log(a);
Reference.reachabilityFence(a);
if (ret >= 0 && ret <= 4096) { return null; }
public static ErrorAction ignore_duplicate_gossip() {
long ret = bindings.ErrorAction_ignore_duplicate_gossip();
if (ret >= 0 && ret <= 4096) { return null; }
public static ErrorAction ignore_duplicate_gossip() {
long ret = bindings.ErrorAction_ignore_duplicate_gossip();
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_send_error_message(msg == null ? 0 : msg.ptr & ~1);
Reference.reachabilityFence(msg);
if (ret >= 0 && ret <= 4096) { return null; }
long ret = bindings.ErrorAction_send_error_message(msg == null ? 0 : msg.ptr & ~1);
Reference.reachabilityFence(msg);
if (ret >= 0 && ret <= 4096) { return null; }
Reference.reachabilityFence(msg);
Reference.reachabilityFence(log_level);
if (ret >= 0 && ret <= 4096) { return null; }
Reference.reachabilityFence(msg);
Reference.reachabilityFence(log_level);
if (ret >= 0 && ret <= 4096) { return null; }