public enum DomainSocketReadMode extends java.lang.Enum<DomainSocketReadMode>
DomainSocketChannel
.Enum Constant and Description |
---|
BYTES
Read (@link ByteBuf)s from the
DomainSocketChannel . |
FILE_DESCRIPTORS
Read (@link FileDscriptor)s from the
DomainSocketChannel . |
Modifier and Type | Method and Description |
---|---|
static DomainSocketReadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DomainSocketReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainSocketReadMode BYTES
DomainSocketChannel
.public static final DomainSocketReadMode FILE_DESCRIPTORS
DomainSocketChannel
.public static DomainSocketReadMode[] values()
for (DomainSocketReadMode c : DomainSocketReadMode.values()) System.out.println(c);
public static DomainSocketReadMode 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 © 2008–2018 The Netty Project. All rights reserved.