Enum Class AckResult.Status

java.lang.Object
java.lang.Enum<AckResult.Status>
com.tnsai.communication.AckResult.Status
All Implemented Interfaces:
Serializable, Comparable<AckResult.Status>, Constable
Enclosing class:
AckResult

public static enum AckResult.Status extends Enum<AckResult.Status>
Acknowledgment status.
  • Enum Constant Details

    • ACKNOWLEDGED

      public static final AckResult.Status ACKNOWLEDGED
      Message was acknowledged positively.
    • NEGATIVE_ACK

      public static final AckResult.Status NEGATIVE_ACK
      Message was negatively acknowledged (NACK).
    • TIMEOUT

      public static final AckResult.Status TIMEOUT
      Acknowledgment timed out.
    • ERROR

      public static final AckResult.Status ERROR
      Acknowledgment failed due to an error.
  • Method Details

    • values

      public static AckResult.Status[] 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 AckResult.Status 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