Enum Class AbstractPCEPSessionNegotiator.State
java.lang.Object
java.lang.Enum<AbstractPCEPSessionNegotiator.State>
org.opendaylight.protocol.pcep.impl.AbstractPCEPSessionNegotiator.State
- All Implemented Interfaces:
Serializable
,Comparable<AbstractPCEPSessionNegotiator.State>
,Constable
- Enclosing class:
- AbstractPCEPSessionNegotiator
public static enum AbstractPCEPSessionNegotiator.State
extends Enum<AbstractPCEPSessionNegotiator.State>
PCEP session negotiation state transitions are described in RFC5440. Simplification the two timers (KeepWait and
OpenWait) are merged into a FailTimer, as they are mutually exclusive, have the same timeout value and their
action is to terminate negotiation. This timer is restarted between state transitions and runs in all states
except Idle and Finished.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNegotiation has completed.Negotiation has not begun.Waiting for the peer's KEEPALIVE message.Waiting for the peer's OPEN message.Waiting for the peer's StartTLS message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AbstractPCEPSessionNegotiator.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLE
Negotiation has not begun. It will be activated once we are asked to provide our initial proposal, at which point we move into OpenWait state. -
START_TLS_WAIT
Waiting for the peer's StartTLS message. -
OPEN_WAIT
Waiting for the peer's OPEN message. -
KEEP_WAIT
Waiting for the peer's KEEPALIVE message. -
FINISHED
Negotiation has completed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-