Uses of Class
org.ldk.structs.SocketAddress
-
Packages that use SocketAddress Package Description org.ldk.structs -
-
Uses of SocketAddress in org.ldk.structs
Subclasses of SocketAddress in org.ldk.structs Modifier and Type Class Description static classSocketAddress.HostnameA hostname/port on which the peer is listening.static classSocketAddress.OnionV2An old-style Tor onion address/port on which the peer is listening.static classSocketAddress.OnionV3A new-style Tor onion address/port on which the peer is listening.static classSocketAddress.TcpIpV4An IPv4 address and port on which the peer is listening.static classSocketAddress.TcpIpV6An IPv6 address and port on which the peer is listening.Fields in org.ldk.structs declared as SocketAddress Modifier and Type Field Description SocketAddressResult_SocketAddressDecodeErrorZ.Result_SocketAddressDecodeErrorZ_OK. resSocketAddressResult_SocketAddressSocketAddressParseErrorZ.Result_SocketAddressSocketAddressParseErrorZ_OK. resSocketAddress[]Option_CVec_SocketAddressZZ.Some. someSocketAddressOption_SocketAddressZ.Some. someMethods in org.ldk.structs that return SocketAddress Modifier and Type Method Description SocketAddress[]NodeAnnouncementInfo. addresses()Internet-level addresses via which one can connect to the nodeSocketAddressSocketAddress. clone()Creates a copy of the SocketAddressSocketAddress[]UnsignedNodeAnnouncement. get_addresses()List of addresses on which this node is reachable Returns a copy of the field.static SocketAddressSocketAddress. hostname(Hostname hostname, short port)Utility method to constructs a new Hostname-variant SocketAddressstatic SocketAddressSocketAddress. onion_v2(byte[] a)Utility method to constructs a new OnionV2-variant SocketAddressstatic SocketAddressSocketAddress. onion_v3(byte[] ed25519_pubkey, short checksum, byte version, short port)Utility method to constructs a new OnionV3-variant SocketAddressstatic SocketAddressSocketAddress. tcp_ip_v4(byte[] addr, short port)Utility method to constructs a new TcpIpV4-variant SocketAddressstatic SocketAddressSocketAddress. tcp_ip_v6(byte[] addr, short port)Utility method to constructs a new TcpIpV6-variant SocketAddressMethods in org.ldk.structs with parameters of type SocketAddress Modifier and Type Method Description voidPeerManager. broadcast_node_announcement(byte[] rgb, byte[] alias, SocketAddress[] addresses)Generates a signed node_announcement from the given arguments, sending it to all connected peers.booleanSocketAddress. eq(SocketAddress b)Checks if two SocketAddresss contain equal inner contents.static Result_SocketAddressDecodeErrorZResult_SocketAddressDecodeErrorZ. ok(SocketAddress o)Creates a new CResult_SocketAddressDecodeErrorZ in the success state.static Result_SocketAddressSocketAddressParseErrorZResult_SocketAddressSocketAddressParseErrorZ. ok(SocketAddress o)Creates a new CResult_SocketAddressSocketAddressParseErrorZ in the success state.voidUnsignedNodeAnnouncement. set_addresses(SocketAddress[] val)List of addresses on which this node is reachablestatic Option_CVec_SocketAddressZZOption_CVec_SocketAddressZZ. some(SocketAddress[] o)Constructs a new COption_CVec_SocketAddressZZ containing a crate::c_types::derived::CVec_SocketAddressZstatic Option_SocketAddressZOption_SocketAddressZ. some(SocketAddress o)Constructs a new COption_SocketAddressZ containing a crate::lightning::ln::msgs::SocketAddress
-