public enum SessionState extends Enum<SessionState>
Enum Constant and Description |
---|
CONNECTED
The session is connected.
|
CONNECTING
The session started to connect.
|
DISCONNECTED
The session is disconnected.
|
DISCONNECTING
The session is in the process of an orderly disconnect.
|
Modifier and Type | Method and Description |
---|---|
static SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionState DISCONNECTED
A re-connect timer may be pending.
public static final SessionState CONNECTING
This may include re-subscribing to any topics after the connect call was successful.
public static final SessionState CONNECTED
public static final SessionState DISCONNECTING
public static SessionState[] values()
for (SessionState c : SessionState.values()) System.out.println(c);
public static SessionState 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–2021 SmallRye. All rights reserved.