Enum KexExtensionHandler.AvailabilityPhase
java.lang.Object
java.lang.Enum<KexExtensionHandler.AvailabilityPhase>
org.apache.sshd.common.kex.extension.KexExtensionHandler.AvailabilityPhase
- All Implemented Interfaces:
Serializable
,Comparable<KexExtensionHandler.AvailabilityPhase>
,java.lang.constant.Constable
- Enclosing interface:
- KexExtensionHandler
public static enum KexExtensionHandler.AvailabilityPhase
extends Enum<KexExtensionHandler.AvailabilityPhase>
Provides a hint as to the context in which
isKexExtensionsAvailable
is invoked- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAbout to sendSSH_MSG_USERAUTH_SUCCESS
message.About to send theSSH_MSG_NEWKEYS
messageDecide whether to delay sending the KEX-INIT message until the peer one has been received.About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension mechanism or not. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PREKEX
Decide whether to delay sending the KEX-INIT message until the peer one has been received. Note: currently invoked only by client sessions, but code should not rely on this implicit assumption. -
PROPOSAL
About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension mechanism or not. -
NEWKEYS
About to send theSSH_MSG_NEWKEYS
message -
AUTHOK
About to sendSSH_MSG_USERAUTH_SUCCESS
message. Note: currently invoked only by server sessions, but code should not rely on this implicit assumption.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-