public static enum RpcReply.ReplyState extends Enum<RpcReply.ReplyState>
Enum Constant and Description |
---|
MSG_ACCEPTED |
MSG_DENIED |
Modifier and Type | Method and Description |
---|---|
static RpcReply.ReplyState |
fromValue(int value) |
static RpcReply.ReplyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcReply.ReplyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcReply.ReplyState MSG_ACCEPTED
public static final RpcReply.ReplyState MSG_DENIED
public static RpcReply.ReplyState[] values()
for (RpcReply.ReplyState c : RpcReply.ReplyState.values()) System.out.println(c);
public static RpcReply.ReplyState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static RpcReply.ReplyState fromValue(int value)
Copyright © 2013 Apache Software Foundation. All rights reserved.