public enum CallMode extends Enum<CallMode>
Asynchronous and Batched calling modes.| Enum Constant and Description |
|---|
ACKNOWLEDGED
Immediately send the request to the remote endpoint and wait for
acknowledgement that it was received.
|
EVENTUAL
Send the request to the remote endpoint, but don't immediately flush the
channel.
|
IMMEDIATE
Send the request to the remote endpoint and immediately flush the
channel.
|
REQUEST_REPLY
Mode applicable to
Pipes which more efficiently uses network resources
than a fully bidirectional pipe. |
| Modifier and Type | Method and Description |
|---|---|
static CallMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallMode EVENTUAL
public static final CallMode IMMEDIATE
Asynchronous calling mode.public static final CallMode ACKNOWLEDGED
public static CallMode[] values()
for (CallMode c : CallMode.values()) System.out.println(c);
public static CallMode 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 © 2006–2015 Cojen. All rights reserved.