public final class MessageType extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
static byte |
CODE_DHCPACK |
static byte |
CODE_DHCPDECLINE |
static byte |
CODE_DHCPDISCOVER |
static byte |
CODE_DHCPINFORM |
static byte |
CODE_DHCPNAK |
static byte |
CODE_DHCPOFFER |
static byte |
CODE_DHCPRELEASE |
static byte |
CODE_DHCPREQUEST |
static MessageType |
DHCPACK |
static MessageType |
DHCPDECLINE |
static MessageType |
DHCPDISCOVER
Enumeration elements are constructed once upon class loading.
|
static MessageType |
DHCPINFORM |
static MessageType |
DHCPNAK |
static MessageType |
DHCPOFFER |
static MessageType |
DHCPRELEASE |
static MessageType |
DHCPREQUEST |
static List |
VALUES |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object that) |
byte |
getCode() |
static MessageType |
getTypeByCode(byte type) |
String |
toString() |
public static final byte CODE_DHCPINFORM
public static final byte CODE_DHCPRELEASE
public static final byte CODE_DHCPNAK
public static final byte CODE_DHCPACK
public static final byte CODE_DHCPDECLINE
public static final byte CODE_DHCPREQUEST
public static final byte CODE_DHCPOFFER
public static final byte CODE_DHCPDISCOVER
public static final MessageType DHCPDISCOVER
public static final MessageType DHCPOFFER
public static final MessageType DHCPREQUEST
public static final MessageType DHCPDECLINE
public static final MessageType DHCPACK
public static final MessageType DHCPNAK
public static final MessageType DHCPRELEASE
public static final MessageType DHCPINFORM
public static final List VALUES
public int compareTo(Object that)
compareTo
in interface Comparable
public static MessageType getTypeByCode(byte type)
public byte getCode()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.