public static enum BgpPeerCfg.State extends Enum<BgpPeerCfg.State>
| Enum Constant and Description |
|---|
ACTIVE
Signifies that state is active and connection can be established.
|
CONNECT
Signifies that connection is initiated.
|
ESTABLISHED
Signifies that all the negotiation is successful and ready to exchange other messages.
|
IDLE
Signifies that peer connection is idle.
|
INVALID
Signifies that invalid state.
|
OPENCONFIRM
Signifies that peer sent the open message as reply.
|
OPENSENT
Signifies that open is sent and anticipating reply.
|
| Modifier and Type | Method and Description |
|---|---|
static BgpPeerCfg.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BgpPeerCfg.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BgpPeerCfg.State IDLE
public static final BgpPeerCfg.State CONNECT
public static final BgpPeerCfg.State ACTIVE
public static final BgpPeerCfg.State OPENSENT
public static final BgpPeerCfg.State OPENCONFIRM
public static final BgpPeerCfg.State ESTABLISHED
public static final BgpPeerCfg.State INVALID
public static BgpPeerCfg.State[] values()
for (BgpPeerCfg.State c : BgpPeerCfg.State.values()) System.out.println(c);
public static BgpPeerCfg.State 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 null