public static enum DatabaseLookupMessage.Type extends Enum<DatabaseLookupMessage.Type>
| Enum Constant and Description |
|---|
ANYdefault - LS or RI |
EXPLexploratory - return closest non-floodfill router infos |
LSlease set only |
RIrouter info only |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseLookupMessage.Type | valueOf(String name)Returns the enum constant of this type with the specified name. |
static DatabaseLookupMessage.Type[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final DatabaseLookupMessage.Type ANY
public static final DatabaseLookupMessage.Type EXPL
public static final DatabaseLookupMessage.Type LS
public static final DatabaseLookupMessage.Type RI
public static DatabaseLookupMessage.Type 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 static DatabaseLookupMessage.Type[] values()
for (DatabaseLookupMessage.Type c : DatabaseLookupMessage.Type.values()) System.out.println(c);