Package | Description |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.unix |
Unix specific transport.
|
Modifier and Type | Method and Description |
---|---|
static FileDescriptor |
Native.newEpollCreate() |
static FileDescriptor |
Native.newEventFd() |
static FileDescriptor |
Native.newTimerFd() |
Modifier and Type | Method and Description |
---|---|
static int |
Native.epollWait(FileDescriptor epollFd,
io.netty.channel.epoll.EpollEventArray events,
FileDescriptor timerFd,
int timeoutSec,
int timeoutNs) |
protected int |
AbstractEpollStreamChannel.SpliceInTask.spliceIn(FileDescriptor pipeOut,
RecvByteBufAllocator.Handle handle) |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch,
int offset,
int len)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor . |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch,
int offset,
int len,
ChannelPromise promise)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor . |
Constructor and Description |
---|
AbstractEpollServerChannel(FileDescriptor fd)
|
AbstractEpollStreamChannel(FileDescriptor fd)
|
EpollDatagramChannel(FileDescriptor fd)
Deprecated.
|
EpollDomainSocketChannel(Channel parent,
FileDescriptor fd)
Deprecated.
|
EpollDomainSocketChannel(FileDescriptor fd)
Deprecated.
Use
EpollDomainSocketChannel.EpollDomainSocketChannel(Socket, boolean) .
Creates a new |
EpollServerDomainSocketChannel(FileDescriptor fd)
Deprecated.
Use
EpollServerDomainSocketChannel.EpollServerDomainSocketChannel(Socket, boolean) .
Creates a new EpollServerDomainSocketChannel from an existing FileDescriptor . |
EpollServerSocketChannel(FileDescriptor fd)
Deprecated.
Use
EpollServerSocketChannel.EpollServerSocketChannel(Socket, boolean) .
Creates a new EpollServerSocketChannel from an existing FileDescriptor . |
EpollSocketChannel(FileDescriptor fd)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
Socket
Provides a JNI bridge to native socket operations.
|
Modifier and Type | Method and Description |
---|---|
FileDescriptor |
UnixChannel.fd()
Returns the
FileDescriptor that is used by this Channel . |
static FileDescriptor |
FileDescriptor.from(java.io.File file)
Open a new
FileDescriptor for the given File . |
static FileDescriptor |
FileDescriptor.from(java.lang.String path)
Open a new
FileDescriptor for the given path. |
static FileDescriptor[] |
FileDescriptor.pipe() |
Copyright © 2008–2018 The Netty Project. All rights reserved.