Package org.onlab.packet
Enum DHCP.DHCPOptionCode
- java.lang.Object
-
- java.lang.Enum<DHCP.DHCPOptionCode>
-
- org.onlab.packet.DHCP.DHCPOptionCode
-
- All Implemented Interfaces:
Serializable
,Comparable<DHCP.DHCPOptionCode>
- Enclosing class:
- DHCP
public static enum DHCP.DHCPOptionCode extends Enum<DHCP.DHCPOptionCode>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description protected byte
value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
static DHCP.DHCPOptionCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DHCP.DHCPOptionCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OptionCode_Pad
public static final DHCP.DHCPOptionCode OptionCode_Pad
-
OptionCode_SubnetMask
public static final DHCP.DHCPOptionCode OptionCode_SubnetMask
-
OptionCode_RouterAddress
public static final DHCP.DHCPOptionCode OptionCode_RouterAddress
-
OptionCode_DomainServer
public static final DHCP.DHCPOptionCode OptionCode_DomainServer
-
OptionCode_HostName
public static final DHCP.DHCPOptionCode OptionCode_HostName
-
OptionCode_DomainName
public static final DHCP.DHCPOptionCode OptionCode_DomainName
-
OptionCode_MTU
public static final DHCP.DHCPOptionCode OptionCode_MTU
-
OptionCode_BroadcastAddress
public static final DHCP.DHCPOptionCode OptionCode_BroadcastAddress
-
OptionCode_RequestedIP
public static final DHCP.DHCPOptionCode OptionCode_RequestedIP
-
OptionCode_LeaseTime
public static final DHCP.DHCPOptionCode OptionCode_LeaseTime
-
OptionCode_MessageType
public static final DHCP.DHCPOptionCode OptionCode_MessageType
-
OptionCode_DHCPServerIp
public static final DHCP.DHCPOptionCode OptionCode_DHCPServerIp
-
OptionCode_RequestedParameters
public static final DHCP.DHCPOptionCode OptionCode_RequestedParameters
-
OptionCode_RenewalTime
public static final DHCP.DHCPOptionCode OptionCode_RenewalTime
-
OPtionCode_RebindingTime
public static final DHCP.DHCPOptionCode OPtionCode_RebindingTime
-
OptionCode_ClientID
public static final DHCP.DHCPOptionCode OptionCode_ClientID
-
OptionCode_CircuitID
public static final DHCP.DHCPOptionCode OptionCode_CircuitID
-
OptionCode_Classless_Static_Route
public static final DHCP.DHCPOptionCode OptionCode_Classless_Static_Route
-
OptionCode_END
public static final DHCP.DHCPOptionCode OptionCode_END
-
-
Method Detail
-
values
public static DHCP.DHCPOptionCode[] 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 (DHCP.DHCPOptionCode c : DHCP.DHCPOptionCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DHCP.DHCPOptionCode 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 nameNullPointerException
- if the argument is null
-
getValue
public byte getValue()
-
-