Package org.jivesoftware.openfire.net
Enum Class TLSStatus
- All Implemented Interfaces:
Serializable
,Comparable<TLSStatus>
,Constable
A TLSStatus enum describing the current handshaking state of this TLS connection.
- Author:
- Artur Hefczyc, Hao Chen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation just closed this side of the SSLEngine, or the operation could not be completed because it was already closed.Need to receive data from the remote side before handshaking can continue.ust send data to the remote side before handshaking can continue.Handshaking is OK.Not be able to unwrap the incoming data because there were not enough source bytes available to make a complete packet. -
Method Summary
-
Enum Constant Details
-
NEED_WRITE
ust send data to the remote side before handshaking can continue. -
NEED_READ
Need to receive data from the remote side before handshaking can continue. -
UNDERFLOW
Not be able to unwrap the incoming data because there were not enough source bytes available to make a complete packet. -
CLOSED
The operation just closed this side of the SSLEngine, or the operation could not be completed because it was already closed. -
OK
Handshaking is OK.
-
-
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
-