public static enum Link.Status extends Enum<Link.Status>
| Enum Constant and Description |
|---|
DISABLED
the link has been disabled by the user (so it's implicitly unavailable)
|
OK
the link is up ready to receive data.
|
UNAVAIL
the link is down although it should be up;
for instance a TCP client that cannot connect to the remote server.
|
| Modifier and Type | Method and Description |
|---|---|
static Link.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.Status OK
public static final Link.Status UNAVAIL
public static final Link.Status DISABLED
public static Link.Status[] values()
for (Link.Status c : Link.Status.values()) System.out.println(c);
public static Link.Status 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 nullCopyright © 2018 Space Applications Services. All rights reserved.