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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier 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- 
IDLENegotiation 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_WAITWaiting for the peer's StartTLS message.
- 
OPEN_WAITWaiting for the peer's OPEN message.
- 
KEEP_WAITWaiting for the peer's KEEPALIVE message.
- 
FINISHEDNegotiation has completed.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-