public enum DomainSocketReadMode extends 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(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(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 © 2008–2017 The Netty Project. All rights reserved.