static enum RequestMessage.OpCode extends java.lang.Enum<RequestMessage.OpCode>
| Enum Constant and Description |
|---|
OP_DELETE |
OP_GETMORE |
OP_INSERT |
OP_KILL_CURSORS |
OP_MSG |
OP_QUERY |
OP_REPLY |
OP_UPDATE |
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static RequestMessage.OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestMessage.OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestMessage.OpCode OP_REPLY
public static final RequestMessage.OpCode OP_MSG
public static final RequestMessage.OpCode OP_UPDATE
public static final RequestMessage.OpCode OP_INSERT
public static final RequestMessage.OpCode OP_QUERY
public static final RequestMessage.OpCode OP_GETMORE
public static final RequestMessage.OpCode OP_DELETE
public static final RequestMessage.OpCode OP_KILL_CURSORS
public static RequestMessage.OpCode[] values()
for (RequestMessage.OpCode c : RequestMessage.OpCode.values()) System.out.println(c);
public static RequestMessage.OpCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()