public static enum Tunnel.State extends java.lang.Enum<Tunnel.State>
Enum Constant and Description |
---|
ACTIVE
Signifies that a tunnel is currently active.
|
ESTABLISHED
Signifies that a tunnel is currently established but no traffic.
|
ESTABLISHING
Signifies that a tunnel is being established.
|
FAILED
Signifies that a tunnel is currently out of service.
|
INACTIVE
Signifies that a tunnel is currently inactive.
|
INIT
Signifies that a tunnel is currently in a initialized state.
|
REMOVING
Signifies that a tunnel is being removed.
|
UNSTABLE
Signifies that the tunnel's state is unreliable and should be setup again.
|
Modifier and Type | Method and Description |
---|---|
static Tunnel.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tunnel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tunnel.State INIT
public static final Tunnel.State ESTABLISHED
public static final Tunnel.State ACTIVE
public static final Tunnel.State FAILED
public static final Tunnel.State INACTIVE
public static final Tunnel.State UNSTABLE
public static final Tunnel.State ESTABLISHING
public static final Tunnel.State REMOVING
public static Tunnel.State[] values()
for (Tunnel.State c : Tunnel.State.values()) System.out.println(c);
public static Tunnel.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null