public static enum SocketWrapperBase.CompletionState extends Enum<SocketWrapperBase.CompletionState>
Enum Constant and Description |
---|
DONE
The operation completed, but not inline.
|
ERROR
The operation completed inline but failed.
|
INLINE
The operation completed inline.
|
PENDING
Operation is still pending.
|
Modifier and Type | Method and Description |
---|---|
static SocketWrapperBase.CompletionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketWrapperBase.CompletionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketWrapperBase.CompletionState PENDING
public static final SocketWrapperBase.CompletionState INLINE
public static final SocketWrapperBase.CompletionState ERROR
public static final SocketWrapperBase.CompletionState DONE
public static SocketWrapperBase.CompletionState[] values()
for (SocketWrapperBase.CompletionState c : SocketWrapperBase.CompletionState.values()) System.out.println(c);
public static SocketWrapperBase.CompletionState 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 © 2000-2016 Apache Software Foundation. All Rights Reserved.