Package org.ldk.enums

Enum SocketAddressParseError

    • Enum Constant Detail

      • LDKSocketAddressParseError_SocketAddrParse

        public static final SocketAddressParseError LDKSocketAddressParseError_SocketAddrParse
        Socket address (IPv4/IPv6) parsing error
      • LDKSocketAddressParseError_InvalidInput

        public static final SocketAddressParseError LDKSocketAddressParseError_InvalidInput
        Invalid input format
      • LDKSocketAddressParseError_InvalidPort

        public static final SocketAddressParseError LDKSocketAddressParseError_InvalidPort
        Invalid port
      • LDKSocketAddressParseError_InvalidOnionV3

        public static final SocketAddressParseError LDKSocketAddressParseError_InvalidOnionV3
        Invalid onion v3 address
    • Method Detail

      • values

        public static SocketAddressParseError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SocketAddressParseError c : SocketAddressParseError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SocketAddressParseError valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null