public enum Icmp6Type extends Enum<Icmp6Type>
Enum Constant and Description |
---|
DEST_UNREACH
Destination Unreachable.
|
ECHO_REPLY
Echo Reply.
|
ECHO_REQUEST
Echo Request.
|
MCAST_DONE
Multicast Listener Done.
|
MCAST_QUERY
Multicast Listener Query.
|
MCAST_REPORT
Multicast Listener Report.
|
NEIGHBOR_ADVERTISEMENT
Neighbor Advertisement.
|
NEIGHBOR_SOLICITATION
Neighbor Solicitation.
|
PARAM_ERR
Parameter Problem.
|
PKT_TOO_BIG
Packet Too Big.
|
REDIRECT
Redirect Message.
|
ROUTER_ADVERTISEMENT
Router Advertisement.
|
ROUTER_SOLICITATION
Router Solicitation.
|
TIME_EXCEED
Time Exceeded.
|
Modifier and Type | Method and Description |
---|---|
static byte |
parseFromString(String input)
Parse a string input that could contain an Icmp6Type value.
|
byte |
value()
Gets the value to use for this Icmp6Type.
|
static Icmp6Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Icmp6Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Icmp6Type DEST_UNREACH
public static final Icmp6Type PKT_TOO_BIG
public static final Icmp6Type TIME_EXCEED
public static final Icmp6Type PARAM_ERR
public static final Icmp6Type ECHO_REQUEST
public static final Icmp6Type ECHO_REPLY
public static final Icmp6Type MCAST_QUERY
public static final Icmp6Type MCAST_REPORT
public static final Icmp6Type MCAST_DONE
public static final Icmp6Type ROUTER_SOLICITATION
public static final Icmp6Type ROUTER_ADVERTISEMENT
public static final Icmp6Type NEIGHBOR_SOLICITATION
public static final Icmp6Type NEIGHBOR_ADVERTISEMENT
public static final Icmp6Type REDIRECT
public static Icmp6Type[] values()
for (Icmp6Type c : Icmp6Type.values()) System.out.println(c);
public static Icmp6Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte value()
public static byte parseFromString(String input)
input
- the input string to parseIllegalArgumentException
- if the input string does not contain a
value that can be parsed into an ICMPv6 type