public static enum ConnectionMessage.Operation extends Enum<ConnectionMessage.Operation>
enum
to define the value of operation
when the action on the connection was to open,close or abort it.operation
Modifier and Type | Method and Description |
---|---|
static ConnectionMessage.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionMessage.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionMessage.Operation OPENING
public static final ConnectionMessage.Operation CLOSING
public static final ConnectionMessage.Operation ABORTING
public static ConnectionMessage.Operation[] values()
for (ConnectionMessage.Operation c : ConnectionMessage.Operation.values()) System.out.println(c);
public static ConnectionMessage.Operation 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 Bgee - Swiss Institute of Bioinformatics. All Rights Reserved.