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