public static enum SessionEvent.SessionStatus extends Enum<SessionEvent.SessionStatus>
Enum Constant and Description |
---|
CLOSED
The session as been request to close and it is now closed.
|
CONNECTED
The status is 100% up and running.
|
CONNECTING
This status is reached as soon as network is active the session will
try to connect, or when the connection was already active but the
link used by the session brake.
|
OPENING
This is the first status as soon session object is created.
|
Modifier and Type | Method and Description |
---|---|
static SessionEvent.SessionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionEvent.SessionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionEvent.SessionStatus OPENING
public static final SessionEvent.SessionStatus CONNECTING
public static final SessionEvent.SessionStatus CONNECTED
public static final SessionEvent.SessionStatus CLOSED
public static SessionEvent.SessionStatus[] values()
for (SessionEvent.SessionStatus c : SessionEvent.SessionStatus.values()) System.out.println(c);
public static SessionEvent.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 © 2018 universAAL Consortium. All rights reserved.