public enum RpcDirection extends Enum<RpcDirection>
| Enum Constant and Description |
|---|
INVOKING
A new RPC call that expects to be first evaluated and then returned.
|
RETURNING
An RPC call that is returning with a result from a previous
invocation.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcDirection RETURNING
public static final RpcDirection INVOKING
public static RpcDirection[] values()
for (RpcDirection c : RpcDirection.values()) System.out.println(c);
public static RpcDirection 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 nullCopyright © 2013. All Rights Reserved.