net.floodlightcontroller.packet
Enum DHCP.DHCPOptionCode

java.lang.Object
  extended by java.lang.Enum<DHCP.DHCPOptionCode>
      extended by net.floodlightcontroller.packet.DHCP.DHCPOptionCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DHCP.DHCPOptionCode>
Enclosing class:
DHCP

public static enum DHCP.DHCPOptionCode
extends java.lang.Enum<DHCP.DHCPOptionCode>


Enum Constant Summary
OptionCode_ClientID
           
OptionCode_DHCPServerIp
           
OptionCode_END
           
OptionCode_Hostname
           
OptionCode_LeaseTime
           
OptionCode_MessageType
           
OPtionCode_RebindingTime
           
OptionCode_RenewalTime
           
OptionCode_RequestedIP
           
OptionCode_RequestedParameters
           
OptionCode_SubnetMask
           
 
Field Summary
protected  byte value
           
 
Method Summary
 byte getValue()
           
static DHCP.DHCPOptionCode valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OptionCode_SubnetMask

public static final DHCP.DHCPOptionCode OptionCode_SubnetMask

OptionCode_Hostname

public static final DHCP.DHCPOptionCode OptionCode_Hostname

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_END

public static final DHCP.DHCPOptionCode OptionCode_END
Field Detail

value

protected byte value
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(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 name
java.lang.NullPointerException - if the argument is null

getValue

public byte getValue()