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 classNetAddress.IPv4static classNetAddress.IPv6static classNetAddress.OnionV2static classNetAddress.OnionV3Fields in org.ldk.structs declared as NetAddress Modifier and Type Field Description NetAddressResult_NetAddressDecodeErrorZ.Result_NetAddressDecodeErrorZ_OK. resNetAddressResult_NetAddressu8Z.Result_NetAddressu8Z_OK. resMethods in org.ldk.structs that return NetAddress Modifier and Type Method Description NetAddressNetAddress. clone()Creates a copy of the NetAddressstatic NetAddressNetAddress. ipv4(byte[] addr, short port)Utility method to constructs a new IPv4-variant NetAddressstatic NetAddressNetAddress. ipv6(byte[] addr, short port)Utility method to constructs a new IPv6-variant NetAddressstatic NetAddressNetAddress. onion_v2(byte[] addr, short port)Utility method to constructs a new OnionV2-variant NetAddressstatic NetAddressNetAddress. 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 voidChannelManager. 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 NodeAnnouncementInfoNodeAnnouncementInfo. 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_NetAddressDecodeErrorZResult_NetAddressDecodeErrorZ. ok(NetAddress o)Creates a new CResult_NetAddressDecodeErrorZ in the success state.static Result_NetAddressu8ZResult_NetAddressu8Z. ok(NetAddress o)Creates a new CResult_NetAddressu8Z in the success state.voidNodeAnnouncementInfo. set_addresses(NetAddress[] val)Internet-level addresses via which one can connect to the nodevoidUnsignedNodeAnnouncement. set_addresses(NetAddress[] val)List of addresses on which this node is reachable
-