Package net.i2p.router.transport
Enum TransportUtil.IPv6Config
- All Implemented Interfaces:
Serializable
,Comparable<TransportUtil.IPv6Config>
,java.lang.constant.Constable
- Enclosing class:
TransportUtil
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIPv6 disabledequal priority to IPv4lower priority than IPv4IPv4 disabledhigher priority than IPv4 -
Method Summary
Modifier and TypeMethodDescriptionstatic TransportUtil.IPv6Config
Returns the enum constant of this type with the specified name.static TransportUtil.IPv6Config[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IPV6_DISABLED
IPv6 disabled -
IPV6_NOT_PREFERRED
lower priority than IPv4 -
IPV6_ENABLED
equal priority to IPv4 -
IPV6_PREFERRED
higher priority than IPv4 -
IPV6_ONLY
IPv4 disabled
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
toConfigString
-