public static enum RpcAcceptedReply.AcceptState extends Enum<RpcAcceptedReply.AcceptState>
Enum Constant and Description |
---|
GARBAGE_ARGS |
PROC_UNAVAIL |
PROG_MISMATCH |
PROG_UNAVAIL |
SUCCESS |
SYSTEM_ERR |
Modifier and Type | Method and Description |
---|---|
static RpcAcceptedReply.AcceptState |
fromValue(int value) |
int |
getValue() |
static RpcAcceptedReply.AcceptState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcAcceptedReply.AcceptState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcAcceptedReply.AcceptState SUCCESS
public static final RpcAcceptedReply.AcceptState PROG_UNAVAIL
public static final RpcAcceptedReply.AcceptState PROG_MISMATCH
public static final RpcAcceptedReply.AcceptState PROC_UNAVAIL
public static final RpcAcceptedReply.AcceptState GARBAGE_ARGS
public static final RpcAcceptedReply.AcceptState SYSTEM_ERR
public static RpcAcceptedReply.AcceptState[] values()
for (RpcAcceptedReply.AcceptState c : RpcAcceptedReply.AcceptState.values()) System.out.println(c);
public static RpcAcceptedReply.AcceptState 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 RpcAcceptedReply.AcceptState fromValue(int value)
public int getValue()
Copyright © 2013 Apache Software Foundation. All rights reserved.