Enum Constant and Description |
---|
Asynchronous
Caller does not block or wait for a response.
|
Synchronous
Caller will block until a response is received and returned.
|
Unreliable
Similar to asynchronous in that no response is expected or sent
but differs in that the call will be sent over UDP and so may
not make it to the other end.
|
Modifier and Type | Method and Description |
---|---|
static CallType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CallType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallType Synchronous
public static final CallType Asynchronous
public static final CallType Unreliable
public static CallType[] values()
for (CallType c : CallType.values()) System.out.println(c);
public static CallType 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 null