public enum ProbeMode extends Enum<ProbeMode>
Enum Constant and Description |
---|
DISCOVER
Append probed host location if reply is received before timeout.
|
VERIFY
Remove probed host location if reply is received after timeout.
|
Modifier and Type | Method and Description |
---|---|
static ProbeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProbeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProbeMode DISCOVER
public static final ProbeMode VERIFY
public static ProbeMode[] values()
for (ProbeMode c : ProbeMode.values()) System.out.println(c);
public static ProbeMode 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 null