public static enum DHCP.MsgType extends java.lang.Enum<DHCP.MsgType>
Enum Constant and Description |
---|
DHCPACK |
DHCPDECLINE |
DHCPDISCOVER |
DHCPFORCERENEW |
DHCPINFORM |
DHCPLEASEACTIVE |
DHCPLEASEQUERY |
DHCPLEASEUNASSIGNED |
DHCPLEASEUNKNOWN |
DHCPNAK |
DHCPOFFER |
DHCPRELEASE |
DHCPREQUEST |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
static DHCP.MsgType |
getType(int value) |
int |
getValue() |
static DHCP.MsgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DHCP.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DHCP.MsgType DHCPDISCOVER
public static final DHCP.MsgType DHCPOFFER
public static final DHCP.MsgType DHCPREQUEST
public static final DHCP.MsgType DHCPDECLINE
public static final DHCP.MsgType DHCPACK
public static final DHCP.MsgType DHCPNAK
public static final DHCP.MsgType DHCPRELEASE
public static final DHCP.MsgType DHCPINFORM
public static final DHCP.MsgType DHCPFORCERENEW
public static final DHCP.MsgType DHCPLEASEQUERY
public static final DHCP.MsgType DHCPLEASEUNASSIGNED
public static final DHCP.MsgType DHCPLEASEUNKNOWN
public static final DHCP.MsgType DHCPLEASEACTIVE
public static DHCP.MsgType[] values()
for (DHCP.MsgType c : DHCP.MsgType.values()) System.out.println(c);
public static DHCP.MsgType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static DHCP.MsgType getType(int value)