Enum Class DecoderState

java.lang.Object
java.lang.Enum<DecoderState>
io.atomix.cluster.messaging.impl.DecoderState
All Implemented Interfaces:
Serializable, Comparable<DecoderState>, Constable

public enum DecoderState extends Enum<DecoderState>
State transitions a decoder goes through as it is decoding an incoming message.
  • Enum Constant Details

    • READ_TYPE

      public static final DecoderState READ_TYPE
    • READ_MESSAGE_ID

      public static final DecoderState READ_MESSAGE_ID
    • READ_SENDER_VERSION

      public static final DecoderState READ_SENDER_VERSION
    • READ_SENDER_IP

      public static final DecoderState READ_SENDER_IP
    • READ_SENDER_PORT

      public static final DecoderState READ_SENDER_PORT
    • READ_SUBJECT_LENGTH

      public static final DecoderState READ_SUBJECT_LENGTH
    • READ_SUBJECT

      public static final DecoderState READ_SUBJECT
    • READ_STATUS

      public static final DecoderState READ_STATUS
    • READ_CONTENT_LENGTH

      public static final DecoderState READ_CONTENT_LENGTH
    • READ_CONTENT

      public static final DecoderState READ_CONTENT
  • Method Details

    • values

      public static DecoderState[] 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 DecoderState 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