public enum DomainSocketReadMode extends Enum<DomainSocketReadMode>
DomainSocketChannel
.Enum Constant and Description |
---|
BYTES
Read
ByteBuf s from the DomainSocketChannel . |
FILE_DESCRIPTORS
Read
FileDescriptor 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
ByteBuf
s from the DomainSocketChannel
.public static final DomainSocketReadMode FILE_DESCRIPTORS
FileDescriptor
s from the 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–2024 The Netty Project. All rights reserved.