/**
* Protocol features of a channel communicated during its announcement
*/
- public void set_features(ChannelFeatures val) {
+ public void set_features(org.ldk.structs.ChannelFeatures val) {
bindings.ChannelInfo_set_features(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
/**
* Source node of the first direction of a channel
*/
- public void set_node_one(NodeId val) {
+ public void set_node_one(org.ldk.structs.NodeId val) {
bindings.ChannelInfo_set_node_one(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
*
* Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
- public void set_one_to_two(@Nullable ChannelUpdateInfo val) {
+ public void set_one_to_two(@Nullable org.ldk.structs.ChannelUpdateInfo val) {
bindings.ChannelInfo_set_one_to_two(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
/**
* Source node of the second direction of a channel
*/
- public void set_node_two(NodeId val) {
+ public void set_node_two(org.ldk.structs.NodeId val) {
bindings.ChannelInfo_set_node_two(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
*
* Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
- public void set_two_to_one(@Nullable ChannelUpdateInfo val) {
+ public void set_two_to_one(@Nullable org.ldk.structs.ChannelUpdateInfo val) {
bindings.ChannelInfo_set_two_to_one(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
/**
* The channel capacity as seen on-chain, if chain lookup is available.
*/
- public void set_capacity_sats(Option_u64Z val) {
+ public void set_capacity_sats(org.ldk.structs.Option_u64Z val) {
bindings.ChannelInfo_set_capacity_sats(this.ptr, val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
*
* Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
- public void set_announcement_message(@Nullable ChannelAnnouncement val) {
+ public void set_announcement_message(@Nullable org.ldk.structs.ChannelAnnouncement val) {
bindings.ChannelInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
* This ignores pointers and is_owned flags and looks at the values in fields.
* Two objects with NULL inner values will be considered "equal" here.
*/
- public boolean eq(ChannelInfo b) {
+ public boolean eq(org.ldk.structs.ChannelInfo b) {
boolean ret = bindings.ChannelInfo_eq(this.ptr, b == null ? 0 : b.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(b);