Package org.onlab.packet
Enum DHCP6.OptionCode
- java.lang.Object
-
- java.lang.Enum<DHCP6.OptionCode>
-
- org.onlab.packet.DHCP6.OptionCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DHCP6.OptionCode>
- Enclosing class:
- DHCP6
public static enum DHCP6.OptionCode extends java.lang.Enum<DHCP6.OptionCode>
DHCPv6 option code.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH
CLIENT_DATA
CLIENT_LT
CLIENTID
ELAPSED_TIME
IA_NA
IA_PD
IA_TA
IAADDR
IAPREFIX
INTERFACE_ID
LEASE_QUERY
OPTION_ERO
ORO
PREFERENCE
RAPID_COMMIT
RECONF_ACCEPT
RECONF_MSG
RELAY_MSG
SERVERID
STATUS_CODE
SUBSCRIBER_ID
UNICAST
USER_CLASS
VENDOR_CLASS
VENDOR_OPTS
-
Field Summary
Fields Modifier and Type Field Description protected short
value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
value()
static DHCP6.OptionCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DHCP6.OptionCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENTID
public static final DHCP6.OptionCode CLIENTID
-
SERVERID
public static final DHCP6.OptionCode SERVERID
-
IA_NA
public static final DHCP6.OptionCode IA_NA
-
IA_TA
public static final DHCP6.OptionCode IA_TA
-
IAADDR
public static final DHCP6.OptionCode IAADDR
-
ORO
public static final DHCP6.OptionCode ORO
-
PREFERENCE
public static final DHCP6.OptionCode PREFERENCE
-
ELAPSED_TIME
public static final DHCP6.OptionCode ELAPSED_TIME
-
RELAY_MSG
public static final DHCP6.OptionCode RELAY_MSG
-
AUTH
public static final DHCP6.OptionCode AUTH
-
UNICAST
public static final DHCP6.OptionCode UNICAST
-
STATUS_CODE
public static final DHCP6.OptionCode STATUS_CODE
-
RAPID_COMMIT
public static final DHCP6.OptionCode RAPID_COMMIT
-
USER_CLASS
public static final DHCP6.OptionCode USER_CLASS
-
VENDOR_CLASS
public static final DHCP6.OptionCode VENDOR_CLASS
-
VENDOR_OPTS
public static final DHCP6.OptionCode VENDOR_OPTS
-
INTERFACE_ID
public static final DHCP6.OptionCode INTERFACE_ID
-
RECONF_MSG
public static final DHCP6.OptionCode RECONF_MSG
-
RECONF_ACCEPT
public static final DHCP6.OptionCode RECONF_ACCEPT
-
IA_PD
public static final DHCP6.OptionCode IA_PD
-
IAPREFIX
public static final DHCP6.OptionCode IAPREFIX
-
SUBSCRIBER_ID
public static final DHCP6.OptionCode SUBSCRIBER_ID
-
OPTION_ERO
public static final DHCP6.OptionCode OPTION_ERO
-
LEASE_QUERY
public static final DHCP6.OptionCode LEASE_QUERY
-
CLIENT_DATA
public static final DHCP6.OptionCode CLIENT_DATA
-
CLIENT_LT
public static final DHCP6.OptionCode CLIENT_LT
-
-
Method Detail
-
values
public static DHCP6.OptionCode[] 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 (DHCP6.OptionCode c : DHCP6.OptionCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DHCP6.OptionCode 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
-
value
public short value()
-
-