public enum BgpType extends Enum<BgpType>
| Enum Constant and Description |
|---|
KEEP_ALIVE |
NONE |
NOTIFICATION |
OPEN |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
byte |
getType()
Returns value as type of BGP message.
|
static BgpType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BgpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BgpType NONE
public static final BgpType OPEN
public static final BgpType UPDATE
public static final BgpType NOTIFICATION
public static final BgpType KEEP_ALIVE
public static BgpType[] values()
for (BgpType c : BgpType.values()) System.out.println(c);
public static BgpType 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 getType()