Enum Class EventCode

java.lang.Object
java.lang.Enum<EventCode>
com.btobits.fixengine.adaptor.client.event.EventCode
All Implemented Interfaces:
Serializable, Comparable<EventCode>, Constable

public enum EventCode extends Enum<EventCode>
Event codes for adaptor.
  • Enum Constant Details

    • INFO

      public static final EventCode INFO
      Info codes.
    • SESSION_CREATED

      public static final EventCode SESSION_CREATED
      Session created.
    • MESSAGE_DELIVERED

      public static final EventCode MESSAGE_DELIVERED
      Message delivered.
    • SESSION_DISCONNECTED

      public static final EventCode SESSION_DISCONNECTED
      Session disconnected.
    • SESSION_RECONNECTING

      public static final EventCode SESSION_RECONNECTING
      Session reconnecting.
    • SESSION_CONNECTED

      public static final EventCode SESSION_CONNECTED
      Session was created.
    • SESSION_DESTROYED

      public static final EventCode SESSION_DESTROYED
      Session was destroyed.
    • ERROR

      public static final EventCode ERROR
      Error codes.
    • ERROR_ON_CREATE_SESSION

      public static final EventCode ERROR_ON_CREATE_SESSION
      Error on create session.
    • ERROR_ON_PROCESS_MESSAGE

      public static final EventCode ERROR_ON_PROCESS_MESSAGE
      Error on process message. For sample when consumer try to read message.
    • ERROR_ON_SEND_MESSAGE

      public static final EventCode ERROR_ON_SEND_MESSAGE
      Error on send message. For sample when producer try to send message.
    • ERROR_ON_AUTHORIZE

      public static final EventCode ERROR_ON_AUTHORIZE
      Error on authorize process. For sample when we tried send/receive from topic/queue
  • Method Details

    • values

      public static EventCode[] 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 EventCode 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
    • getCode

      public int getCode()