public static enum Connection.Modality extends Enum<Connection.Modality>
Enum Constant and Description |
---|
Asynchronous
non-blocking request/future-response semantics
|
Monitor |
PubSub |
Synchronous
blocking request/reply semantics
|
Modifier and Type | Method and Description |
---|---|
static Connection.Modality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Modality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Modality Synchronous
public static final Connection.Modality Asynchronous
public static final Connection.Modality PubSub
public static final Connection.Modality Monitor
public static Connection.Modality[] values()
for (Connection.Modality c : Connection.Modality.values()) System.out.println(c);
public static Connection.Modality 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 © 2009–2015. All rights reserved.