@Deprecated public enum DHCPPacketType extends java.lang.Enum<DHCPPacketType>
Enum Constant and Description |
---|
DHCPACK
Deprecated.
|
DHCPDECLINE
Deprecated.
|
DHCPDISCOVER
Deprecated.
|
DHCPFORCERENEW
Deprecated.
|
DHCPINFORM
Deprecated.
|
DHCPLEASEACTIVE
Deprecated.
|
DHCPLEASEQUERY
Deprecated.
|
DHCPLEASEUNASSIGNED
Deprecated.
|
DHCPLEASEUNKNOWN
Deprecated.
|
DHCPNAK
Deprecated.
|
DHCPOFFER
Deprecated.
|
DHCPRELEASE
Deprecated.
|
DHCPREQUEST
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected int |
value
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DHCPPacketType |
getType(int value)
Deprecated.
|
int |
getValue()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
static DHCPPacketType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static DHCPPacketType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DHCPPacketType DHCPDISCOVER
public static final DHCPPacketType DHCPOFFER
public static final DHCPPacketType DHCPREQUEST
public static final DHCPPacketType DHCPDECLINE
public static final DHCPPacketType DHCPACK
public static final DHCPPacketType DHCPNAK
public static final DHCPPacketType DHCPRELEASE
public static final DHCPPacketType DHCPINFORM
public static final DHCPPacketType DHCPFORCERENEW
public static final DHCPPacketType DHCPLEASEQUERY
public static final DHCPPacketType DHCPLEASEUNASSIGNED
public static final DHCPPacketType DHCPLEASEUNKNOWN
public static final DHCPPacketType DHCPLEASEACTIVE
public static DHCPPacketType[] values()
for (DHCPPacketType c : DHCPPacketType.values()) System.out.println(c);
public static DHCPPacketType 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 java.lang.String toString()
toString
in class java.lang.Enum<DHCPPacketType>
public static DHCPPacketType getType(int value)