public enum OspfNeighborState extends java.lang.Enum<OspfNeighborState>
| Enum Constant and Description |
|---|
ATTEMPT |
DOWN |
EXCHANGE |
EXSTART |
FULL |
INIT |
LOADING |
TWOWAY |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Gets value of neighbor state.
|
static OspfNeighborState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OspfNeighborState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OspfNeighborState DOWN
public static final OspfNeighborState ATTEMPT
public static final OspfNeighborState INIT
public static final OspfNeighborState TWOWAY
public static final OspfNeighborState EXSTART
public static final OspfNeighborState EXCHANGE
public static final OspfNeighborState LOADING
public static final OspfNeighborState FULL
public static OspfNeighborState[] values()
for (OspfNeighborState c : OspfNeighborState.values()) System.out.println(c);
public static OspfNeighborState 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 nullpublic int getValue()