java.io.Serializable
, java.lang.Comparable<SocketWrapperBase.CompletionState>
public static enum SocketWrapperBase.CompletionState extends java.lang.Enum<SocketWrapperBase.CompletionState>
Enum Constant | Description |
---|---|
DONE |
The operation completed, but not inline.
|
ERROR |
The operation completed inline but failed.
|
INLINE |
The operation completed inline.
|
NOT_DONE |
Operation was pending and non blocking.
|
PENDING |
Operation is still pending.
|
Modifier and Type | Method | Description |
---|---|---|
static SocketWrapperBase.CompletionState |
valueOf(java.lang.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 NOT_DONE
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.