public enum AsyncBehaviour extends Enum<AsyncBehaviour> implements Externalizable, TranscribableEnum
| Enum Constant and Description |
|---|
ASYNC |
SYNC
synchronous
|
TIMEOUT |
UNRECOGNIZED_VALUE |
| Modifier and Type | Field and Description |
|---|---|
static ServiceVersion |
SERVICE_VERSION |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static AsyncBehaviour |
getInstance(ObjectInput in) |
ServiceVersion |
getServiceVersion() |
void |
readExternal(ObjectInput in) |
static Set<AsyncBehaviour> |
validValues() |
static AsyncBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeExternal(ObjectOutput out) |
public static final AsyncBehaviour SYNC
public static final AsyncBehaviour ASYNC
public static final AsyncBehaviour TIMEOUT
public static final AsyncBehaviour UNRECOGNIZED_VALUE
public static final ServiceVersion SERVICE_VERSION
public static AsyncBehaviour[] values()
for (AsyncBehaviour c : AsyncBehaviour.values()) System.out.println(c);
public static AsyncBehaviour 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 Set<AsyncBehaviour> validValues()
public String getCode()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic static AsyncBehaviour getInstance(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic ServiceVersion getServiceVersion()
getServiceVersion in interface TranscribableEnumCopyright © 2009-2015 Betfair. All Rights Reserved.