java.io.Serializable, java.lang.Comparable<SocketWrapperBase.BlockingMode>public static enum SocketWrapperBase.BlockingMode extends java.lang.Enum<SocketWrapperBase.BlockingMode>
| Enum Constant | Description |
|---|---|
BLOCK |
The operation will block until completed.
|
NON_BLOCK |
The operation will now block.
|
SEMI_BLOCK |
The operation will block until pending operations are completed, but
will not block after performing it.
|
| Modifier and Type | Method | Description |
|---|---|---|
static SocketWrapperBase.BlockingMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SocketWrapperBase.BlockingMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketWrapperBase.BlockingMode NON_BLOCK
public static final SocketWrapperBase.BlockingMode SEMI_BLOCK
public static final SocketWrapperBase.BlockingMode BLOCK
public static SocketWrapperBase.BlockingMode[] values()
for (SocketWrapperBase.BlockingMode c : SocketWrapperBase.BlockingMode.values()) System.out.println(c);
public static SocketWrapperBase.BlockingMode 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.