public enum RakServerCookieMode extends java.lang.Enum<RakServerCookieMode>
| Enum Constant and Description |
|---|
ACTIVE
Key is generated and managed by the server.
|
INVALID |
OFF
Accepts any cookie at ID_OPEN_CONNECTION_REQUEST_2.
|
OFFLOADED
Key is unknown.
|
OFFLOADED_PSK
Key is known.
|
| Modifier and Type | Method and Description |
|---|---|
static RakServerCookieMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RakServerCookieMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RakServerCookieMode ACTIVE
public static final RakServerCookieMode OFFLOADED
public static final RakServerCookieMode OFFLOADED_PSK
public static final RakServerCookieMode OFF
public static final RakServerCookieMode INVALID
public static RakServerCookieMode[] values()
for (RakServerCookieMode c : RakServerCookieMode.values()) System.out.println(c);
public static RakServerCookieMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null