java.io.Serializable
, java.lang.Comparable<SocketWrapperBase.CompletionHandlerCall>
public static enum SocketWrapperBase.CompletionHandlerCall extends java.lang.Enum<SocketWrapperBase.CompletionHandlerCall>
Enum Constant | Description |
---|---|
CONTINUE |
Operation should continue, the completion handler shouldn't be
called.
|
DONE |
The operation is complete, the completion handler should be
called.
|
NONE |
The operation completed but the completion handler shouldn't be
called.
|
Modifier and Type | Method | Description |
---|---|---|
static SocketWrapperBase.CompletionHandlerCall |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SocketWrapperBase.CompletionHandlerCall[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketWrapperBase.CompletionHandlerCall CONTINUE
public static final SocketWrapperBase.CompletionHandlerCall NONE
public static final SocketWrapperBase.CompletionHandlerCall DONE
public static SocketWrapperBase.CompletionHandlerCall[] values()
for (SocketWrapperBase.CompletionHandlerCall c : SocketWrapperBase.CompletionHandlerCall.values()) System.out.println(c);
public static SocketWrapperBase.CompletionHandlerCall 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-2019 Apache Software Foundation. All Rights Reserved.