|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SessionState> com.epam.fixengine.SessionState
public enum SessionState
Session state enum
Enum Constant Summary | |
---|---|
CONNECTED
|
|
CONNECTING
|
|
DEAD
|
|
DISCONNECTED
|
|
DISCONNECTED_ABNORMALLY
|
|
LOGON_RECEIVED
|
|
RECONNECTING
|
|
WAITING_FOR_FORCED_DISCONNECT
Wait a bit to close session after sending Logout |
|
WAITING_FOR_FORCED_LOGOFF
Wait for Logout answer |
|
WAITING_FOR_LOGOFF
|
|
WAITING_FOR_LOGON
|
Method Summary | |
---|---|
static boolean |
isConnected(SessionState sessionState)
|
static boolean |
isDisconnected(SessionState sessionState)
|
static boolean |
isDisposed(SessionState sessionState)
|
static boolean |
isNotDisconnected(SessionState sessionState)
|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SessionState CONNECTING
public static final SessionState WAITING_FOR_LOGON
public static final SessionState CONNECTED
public static final SessionState WAITING_FOR_LOGOFF
public static final SessionState DISCONNECTED
public static final SessionState LOGON_RECEIVED
public static final SessionState DEAD
public static final SessionState DISCONNECTED_ABNORMALLY
public static final SessionState RECONNECTING
public static final SessionState WAITING_FOR_FORCED_LOGOFF
public static final SessionState WAITING_FOR_FORCED_DISCONNECT
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static boolean isConnected(SessionState sessionState)
public static boolean isNotDisconnected(SessionState sessionState)
public static boolean isDisconnected(SessionState sessionState)
public static boolean isDisposed(SessionState sessionState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |