public enum SessionState extends java.lang.Enum<SessionState>
| Enum Constant and Description |
|---|
ACTIVE
Session is fully authenticated and ready to execute.
|
AWAITING_ASYNC_PROXY_LOGOUT
Logout has been sent on an async SessionProxy, the session is waiting for it to be written via a SessionWriter.
|
AWAITING_LOGOUT
Linger between logout request and a logout acknowledgement.
|
CONNECTED
A machine has connected to the gateway, but hasn't logged in yet.
|
CONNECTING
The session is connecting or reconnecting.
|
DISABLED
DISCONNECTED and unable to reconnect.
|
DISCONNECTED
Session has been disconnected.
|
DISCONNECTING
Session is trying to disconnect, will retry disconnecting until not backpressured
|
LOGGING_OUT
Session is trying to send logout, will retry sending until not backpressured
|
LOGGING_OUT_AND_DISCONNECTING
Session is trying to send logout and the disconnect, will retry sending until not backpressured
|
NULL_VAL
To be used to represent not present or null.
|
SENT_LOGON
Initiator only state - sent logon message but it hasn't received the reply yet.
|
| Modifier and Type | Method and Description |
|---|---|
static SessionState |
get(short value)
Lookup the enum value representing the value.
|
short |
value()
The raw encoded value in the Java type representation.
|
static SessionState |
valueOf(java.lang.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 CONNECTING
public static final SessionState CONNECTED
public static final SessionState SENT_LOGON
public static final SessionState ACTIVE
public static final SessionState LOGGING_OUT
public static final SessionState LOGGING_OUT_AND_DISCONNECTING
public static final SessionState AWAITING_LOGOUT
public static final SessionState DISCONNECTING
public static final SessionState DISCONNECTED
public static final SessionState DISABLED
public static final SessionState AWAITING_ASYNC_PROXY_LOGOUT
public static final SessionState NULL_VAL
public static SessionState[] values()
for (SessionState c : SessionState.values()) System.out.println(c);
public static SessionState 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 nullpublic short value()
public static SessionState get(short value)
value - encoded to be looked up.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.