public enum PcepVersion extends Enum<PcepVersion>
| Enum Constant and Description |
|---|
PCEP_1 |
| Modifier and Type | Field and Description |
|---|---|
int |
packetVersion |
| Modifier and Type | Method and Description |
|---|---|
int |
getWireVersion()
Returns Wire version of PCEP Message.
|
static PcepVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcepVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcepVersion PCEP_1
public static PcepVersion[] values()
for (PcepVersion c : PcepVersion.values()) System.out.println(c);
public static PcepVersion 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 int getWireVersion()
Copyright © 2015. All rights reserved.