Uses of Class
org.ldk.structs.NetAddress
-
Packages that use NetAddress Package Description org.ldk.structs -
-
Uses of NetAddress in org.ldk.structs
Subclasses of NetAddress in org.ldk.structs Modifier and Type Class Description static class
NetAddress.IPv4
static class
NetAddress.IPv6
static class
NetAddress.OnionV2
static class
NetAddress.OnionV3
Fields in org.ldk.structs declared as NetAddress Modifier and Type Field Description NetAddress
Result_NetAddressDecodeErrorZ.Result_NetAddressDecodeErrorZ_OK. res
NetAddress
Result_NetAddressu8Z.Result_NetAddressu8Z_OK. res
Methods in org.ldk.structs that return NetAddress Modifier and Type Method Description NetAddress
NetAddress. clone()
Creates a copy of the NetAddressstatic NetAddress
NetAddress. ipv4(byte[] addr, short port)
Utility method to constructs a new IPv4-variant NetAddressstatic NetAddress
NetAddress. ipv6(byte[] addr, short port)
Utility method to constructs a new IPv6-variant NetAddressstatic NetAddress
NetAddress. onion_v2(byte[] addr, short port)
Utility method to constructs a new OnionV2-variant NetAddressstatic NetAddress
NetAddress. onion_v3(byte[] ed25519_pubkey, short checksum, byte version, short port)
Utility method to constructs a new OnionV3-variant NetAddressMethods in org.ldk.structs with parameters of type NetAddress Modifier and Type Method Description void
ChannelManager. broadcast_node_announcement(byte[] rgb, byte[] alias, NetAddress[] addresses)
Regenerates channel_announcements and generates a signed node_announcement from the given arguments, providing them in corresponding events via [`get_and_clear_pending_msg_events`], if at least one public channel has been confirmed on-chain.static NodeAnnouncementInfo
NodeAnnouncementInfo. of(NodeFeatures features_arg, int last_update_arg, byte[] rgb_arg, byte[] alias_arg, NetAddress[] addresses_arg, NodeAnnouncement announcement_message_arg)
Constructs a new NodeAnnouncementInfo given each fieldstatic Result_NetAddressDecodeErrorZ
Result_NetAddressDecodeErrorZ. ok(NetAddress o)
Creates a new CResult_NetAddressDecodeErrorZ in the success state.static Result_NetAddressu8Z
Result_NetAddressu8Z. ok(NetAddress o)
Creates a new CResult_NetAddressu8Z in the success state.void
NodeAnnouncementInfo. set_addresses(NetAddress[] val)
Internet-level addresses via which one can connect to the nodevoid
UnsignedNodeAnnouncement. set_addresses(NetAddress[] val)
List of addresses on which this node is reachable
-