程序包 | 说明 |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.unix |
Unix specific transport.
|
构造器和说明 |
---|
AbstractEpollServerChannel(Socket fd)
|
AbstractEpollServerChannel(Socket fd,
boolean active) |
AbstractEpollStreamChannel(Channel parent,
Socket fd) |
AbstractEpollStreamChannel(Socket fd)
|
AbstractEpollStreamChannel(Socket fd,
boolean active) |
EpollDatagramChannel(Socket fd) |
EpollDomainSocketChannel(Channel parent,
Socket fd) |
EpollDomainSocketChannel(Socket fd,
boolean active)
Creates a new
EpollDomainSocketChannel from an existing FileDescriptor |
EpollServerDomainSocketChannel(Socket fd)
|
EpollServerDomainSocketChannel(Socket fd,
boolean active) |
EpollServerSocketChannel(Socket fd)
已过时。
Use
EpollServerSocketChannel.EpollServerSocketChannel(Socket, boolean) .
Creates a new EpollServerSocketChannel from an existing Socket . |
EpollServerSocketChannel(Socket fd,
boolean active) |
EpollSocketChannel(Socket fd,
boolean active)
Creates a new
EpollSocketChannel from an existing FileDescriptor . |
限定符和类型 | 方法和说明 |
---|---|
static Socket |
Socket.newSocketDgram() |
static Socket |
Socket.newSocketDomain() |
static Socket |
Socket.newSocketStream() |