Package zmq.pipe

Enum Pipe.State

All Implemented Interfaces:
Serializable, Comparable<Pipe.State>, java.lang.constant.Constable
Enclosing class:
Pipe

static enum Pipe.State extends Enum<Pipe.State>
  • Enum Constant Details

    • ACTIVE

      public static final Pipe.State ACTIVE
    • DELIMITER_RECEIVED

      public static final Pipe.State DELIMITER_RECEIVED
    • WAITING_FOR_DELIMITER

      public static final Pipe.State WAITING_FOR_DELIMITER
    • TERM_ACK_SENT

      public static final Pipe.State TERM_ACK_SENT
    • TERM_REQ_SENT_1

      public static final Pipe.State TERM_REQ_SENT_1
    • TERM_REQ_SENT_2

      public static final Pipe.State TERM_REQ_SENT_2
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

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

      public static Pipe.State valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null