Enum Class Callback.StatusCode

java.lang.Object
java.lang.Enum<Callback.StatusCode>
com.millistream.www.Callback.StatusCode
All Implemented Interfaces:
Serializable, Comparable<Callback.StatusCode>, Constable
Enclosing interface:
Callback

public static enum Callback.StatusCode extends Enum<Callback.StatusCode>
Defines the various connection states
  • Enum Constant Details

    • LOOKUP

      public static final Callback.StatusCode LOOKUP
      Performing DNS lookup of the host name
    • CONNECTING

      public static final Callback.StatusCode CONNECTING
      Trying to connect with the server
    • CONNECTED

      public static final Callback.StatusCode CONNECTED
      Connected with the server, establishing a secure channel
    • DISCONNECTED

      public static final Callback.StatusCode DISCONNECTED
      Disconnected from the server
    • READYTOLOGON

      public static final Callback.StatusCode READYTOLOGON
      The secure channel with the server is established and you can now send the logon message
    • SND_HB_REQ

      public static final Callback.StatusCode SND_HB_REQ
      Client sent a Heartbeat request to the server
    • RCV_HB_REQ

      public static final Callback.StatusCode RCV_HB_REQ
      Client received a Heartbeat request from the server
    • RCV_HB_RES

      public static final Callback.StatusCode RCV_HB_RES
      Client received a Hearbeat response from the server
  • Method Details

    • values

      public static Callback.StatusCode[] 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 Callback.StatusCode 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