public static enum Session.SessionStatus extends Enum<Session.SessionStatus>
| Modifier and Type | Method and Description |
|---|---|
static Session.SessionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.SessionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.SessionStatus NEW
public static final Session.SessionStatus CONNECTED
public static final Session.SessionStatus ON_ERROR
public static final Session.SessionStatus CLOSED
public static Session.SessionStatus[] values()
for (Session.SessionStatus c : Session.SessionStatus.values()) System.out.println(c);
public static Session.SessionStatus 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 © 2015. All rights reserved.