public enum TLSStatus extends Enum<TLSStatus>
Enum Constant and Description |
---|
CLOSED
The operation just closed this side of the SSLEngine, or the operation could not be completed
because it was already closed.
|
NEED_READ
Need to receive data from the remote side before handshaking can continue.
|
NEED_WRITE
ust send data to the remote side before handshaking can continue.
|
OK
Handshaking is OK.
|
UNDERFLOW
Not be able to unwrap the incoming data because there were not enough source bytes available
to make a complete packet.
|
Modifier and Type | Method and Description |
---|---|
static TLSStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLSStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLSStatus NEED_WRITE
public static final TLSStatus NEED_READ
public static final TLSStatus UNDERFLOW
public static final TLSStatus CLOSED
public static final TLSStatus OK
public static TLSStatus[] values()
for (TLSStatus c : TLSStatus.values()) System.out.println(c);
public static TLSStatus 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 nullCopyright © 2003-2008 Jive Software.