Package zmq

Enum Msg.Type

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

static enum Msg.Type extends Enum<Msg.Type>
  • Enum Constant Details

    • DATA

      public static final Msg.Type DATA
    • JOIN

      public static final Msg.Type JOIN
    • LEAVE

      public static final Msg.Type LEAVE
    • DELIMITER

      public static final Msg.Type DELIMITER
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static Msg.Type[] 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 Msg.Type 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