/**
* The relevant features which the sender supports
*/
- public void set_features(InitFeatures val) {
+ public void set_features(org.ldk.structs.InitFeatures val) {
bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
* to discover a potential update to its public IPv4 address (NAT) and use
* that for a node_announcement update message containing the new address.
*/
- public void set_remote_network_address(Option_NetAddressZ val) {
+ public void set_remote_network_address(org.ldk.structs.Option_NetAddressZ val) {
bindings.Init_set_remote_network_address(this.ptr, val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
/**
* Constructs a new Init given each field
*/
- public static Init of(InitFeatures features_arg, Option_NetAddressZ remote_network_address_arg) {
+ public static Init of(org.ldk.structs.InitFeatures features_arg, org.ldk.structs.Option_NetAddressZ remote_network_address_arg) {
long ret = bindings.Init_new(features_arg == null ? 0 : features_arg.ptr, remote_network_address_arg.ptr);
Reference.reachabilityFence(features_arg);
Reference.reachabilityFence(remote_network_address_arg);
* 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(Init b) {
+ public boolean eq(org.ldk.structs.Init b) {
boolean ret = bindings.Init_eq(this.ptr, b == null ? 0 : b.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(b);