Enum Icmpv6Type
- java.lang.Object
-
- java.lang.Enum<Icmpv6Type>
-
- org.opendaylight.genius.ipv6util.api.Icmpv6Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Icmpv6Type>
public enum Icmpv6Type extends java.lang.Enum<Icmpv6Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ECHO_REPLY
ECHO_REQUEST
MULTICAST_LISTENER_DONE
MULTICAST_LISTENER_QUERY
MULTICAST_LISTENER_REPORT
NEIGHBOR_ADVERTISEMENT
NEIGHBOR_SOLICITATION
ROUTER_ADVETISEMENT
ROUTER_SOLICITATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getValue()
static Icmpv6Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Icmpv6Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ECHO_REQUEST
public static final Icmpv6Type ECHO_REQUEST
-
ECHO_REPLY
public static final Icmpv6Type ECHO_REPLY
-
MULTICAST_LISTENER_QUERY
public static final Icmpv6Type MULTICAST_LISTENER_QUERY
-
MULTICAST_LISTENER_REPORT
public static final Icmpv6Type MULTICAST_LISTENER_REPORT
-
MULTICAST_LISTENER_DONE
public static final Icmpv6Type MULTICAST_LISTENER_DONE
-
ROUTER_SOLICITATION
public static final Icmpv6Type ROUTER_SOLICITATION
-
ROUTER_ADVETISEMENT
public static final Icmpv6Type ROUTER_ADVETISEMENT
-
NEIGHBOR_SOLICITATION
public static final Icmpv6Type NEIGHBOR_SOLICITATION
-
NEIGHBOR_ADVERTISEMENT
public static final Icmpv6Type NEIGHBOR_ADVERTISEMENT
-
-
Method Detail
-
values
public static Icmpv6Type[] 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 (Icmpv6Type c : Icmpv6Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Icmpv6Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public short getValue()
-
-