Enum Class SessionState

java.lang.Object
java.lang.Enum<SessionState>
com.epam.fixengine.SessionState
All Implemented Interfaces:
Serializable, Comparable<SessionState>, Constable

public enum SessionState extends Enum<SessionState>
Session state enum
  • Enum Constant Details

    • CONNECTING

      public static final SessionState CONNECTING
    • WAITING_FOR_LOGON

      public static final SessionState WAITING_FOR_LOGON
    • CONNECTED

      public static final SessionState CONNECTED
    • WAITING_FOR_LOGOFF

      public static final SessionState WAITING_FOR_LOGOFF
    • DISCONNECTED

      public static final SessionState DISCONNECTED
    • LOGON_RECEIVED

      public static final SessionState LOGON_RECEIVED
    • DEAD

      public static final SessionState DEAD
    • DISCONNECTED_ABNORMALLY

      public static final SessionState DISCONNECTED_ABNORMALLY
    • RECONNECTING

      public static final SessionState RECONNECTING
    • WAITING_FOR_FORCED_LOGOFF

      public static final SessionState WAITING_FOR_FORCED_LOGOFF
      Wait for Logout answer
    • WAITING_FOR_FORCED_DISCONNECT

      public static final SessionState WAITING_FOR_FORCED_DISCONNECT
      Wait a bit to close session after sending Logout
  • Method Details

    • values

      public static SessionState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SessionState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isConnected

      public static boolean isConnected(SessionState sessionState)
    • isNotDisconnected

      public static boolean isNotDisconnected(SessionState sessionState)
    • isDisconnected

      public static boolean isDisconnected(SessionState sessionState)
    • isDisposed

      public static boolean isDisposed(SessionState sessionState)
    • isConnected

      public boolean isConnected()
    • isNotDisconnected

      public boolean isNotDisconnected()
    • isDisconnected

      public boolean isDisconnected()
    • isDisposed

      public boolean isDisposed()