public enum LspType extends Enum<LspType>
| Enum Constant and Description |
|---|
SR_WITHOUT_SIGNALLING
Signifies that path is created via SR mode.
|
WITH_SIGNALLING
Signifies that path is created via signaling mode.
|
WITHOUT_SIGNALLING_AND_WITHOUT_SR
Signifies that path is created via without signaling and without SR mode.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
type()
Returns value of LSP type.
|
static LspType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LspType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LspType WITH_SIGNALLING
public static final LspType SR_WITHOUT_SIGNALLING
public static final LspType WITHOUT_SIGNALLING_AND_WITHOUT_SR
public static LspType[] values()
for (LspType c : LspType.values()) System.out.println(c);
public static LspType 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 byte type()