public enum LispType extends Enum<LispType>
| Enum Constant and Description |
|---|
LISP_ENCAPSULATED_CONTROL
LISP Encapsulated Control Message.
|
LISP_INFO
LISP Info-Request or Info-Reply Message.
|
LISP_MAP_NOTIFY
LISP Map-Notify Message.
|
LISP_MAP_REFERRAL
LISP Map-Referral Message.
|
LISP_MAP_REGISTER
LISP Map-Register Message.
|
LISP_MAP_REPLY
LISP Map-Reply Message.
|
LISP_MAP_REQUEST
LISP Map-Request Message.
|
UNKNOWN
Unknown types for internal use.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getTypeCode()
Obtains LISP type code value.
|
static LispType |
valueOf(short typeCode)
Obtains LISP type enum by providing type code value.
|
static LispType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LispType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LispType LISP_MAP_REQUEST
public static final LispType LISP_MAP_REPLY
public static final LispType LISP_MAP_REGISTER
public static final LispType LISP_MAP_NOTIFY
public static final LispType LISP_MAP_REFERRAL
public static final LispType LISP_INFO
public static final LispType LISP_ENCAPSULATED_CONTROL
public static final LispType UNKNOWN
public static LispType[] values()
for (LispType c : LispType.values()) System.out.println(c);
public static LispType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic short getTypeCode()
public static LispType valueOf(short typeCode)
typeCode - LISP type code value