public enum HmtpPacketType extends java.lang.Enum<HmtpPacketType>
Enum Constant and Description |
---|
MESSAGE |
MESSAGE_ERROR |
QUERY |
QUERY_ERROR |
QUERY_RESULT |
Modifier and Type | Field and Description |
---|---|
static HmtpPacketType[] |
TYPES |
Modifier and Type | Method and Description |
---|---|
static HmtpPacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HmtpPacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HmtpPacketType MESSAGE
public static final HmtpPacketType MESSAGE_ERROR
public static final HmtpPacketType QUERY
public static final HmtpPacketType QUERY_RESULT
public static final HmtpPacketType QUERY_ERROR
public static final HmtpPacketType[] TYPES
public static HmtpPacketType[] values()
for (HmtpPacketType c : HmtpPacketType.values()) System.out.println(c);
public static HmtpPacketType 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 null