public static enum DtlsClientParams.DefaultHandshakeMode extends Enum<DtlsClientParams.DefaultHandshakeMode>
| Enum Constant and Description |
|---|
AUTO
Start a handshake, if no session is available.
|
NONE
Don't start a handshake, even, if no session is available.
|
| Modifier and Type | Method and Description |
|---|---|
static DtlsClientParams.DefaultHandshakeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtlsClientParams.DefaultHandshakeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtlsClientParams.DefaultHandshakeMode NONE
public static final DtlsClientParams.DefaultHandshakeMode AUTO
public static DtlsClientParams.DefaultHandshakeMode[] values()
for (DtlsClientParams.DefaultHandshakeMode c : DtlsClientParams.DefaultHandshakeMode.values()) System.out.println(c);
public static DtlsClientParams.DefaultHandshakeMode 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 © 2019–2024 Teslanet.nl. All rights reserved.