Package zmq
Enum Command.Type
- java.lang.Object
-
- java.lang.Enum<Command.Type>
-
- zmq.Command.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Command.Type>
- Enclosing class:
- Command
public static enum Command.Type extends java.lang.Enum<Command.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATE_READ
ACTIVATE_WRITE
ATTACH
BIND
DONE
HICCUP
INPROC_CONNECTED
OWN
PIPE_TERM
PIPE_TERM_ACK
PLUG
REAP
REAPED
STOP
TERM
TERM_ACK
TERM_REQ
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Command.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Command.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOP
public static final Command.Type STOP
-
PLUG
public static final Command.Type PLUG
-
OWN
public static final Command.Type OWN
-
ATTACH
public static final Command.Type ATTACH
-
BIND
public static final Command.Type BIND
-
ACTIVATE_READ
public static final Command.Type ACTIVATE_READ
-
ACTIVATE_WRITE
public static final Command.Type ACTIVATE_WRITE
-
HICCUP
public static final Command.Type HICCUP
-
PIPE_TERM
public static final Command.Type PIPE_TERM
-
PIPE_TERM_ACK
public static final Command.Type PIPE_TERM_ACK
-
TERM_REQ
public static final Command.Type TERM_REQ
-
TERM
public static final Command.Type TERM
-
TERM_ACK
public static final Command.Type TERM_ACK
-
REAP
public static final Command.Type REAP
-
REAPED
public static final Command.Type REAPED
-
INPROC_CONNECTED
public static final Command.Type INPROC_CONNECTED
-
DONE
public static final Command.Type DONE
-
-
Method Detail
-
values
public static Command.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Command.Type c : Command.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Command.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-