/**
* The update to apply via [`NetworkGraph::update_channel`].
*/
- public final ChannelUpdate msg;
+ public final org.ldk.structs.ChannelUpdate msg;
private ChannelUpdateMessage(long ptr, bindings.LDKNetworkUpdate.ChannelUpdateMessage obj) {
super(null, ptr);
long msg = obj.msg;
long ret = bindings.NetworkUpdate_clone(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
- NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
+ org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
long ret = bindings.NetworkUpdate_channel_update_message(msg == null ? 0 : msg.ptr & ~1);
Reference.reachabilityFence(msg);
if (ret >= 0 && ret <= 4096) { return null; }
- NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
+ org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
Reference.reachabilityFence(short_channel_id);
Reference.reachabilityFence(is_permanent);
if (ret >= 0 && ret <= 4096) { return null; }
- NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
+ org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
Reference.reachabilityFence(node_id);
Reference.reachabilityFence(is_permanent);
if (ret >= 0 && ret <= 4096) { return null; }
- NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret);
+ org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret);
ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}