程序包 | 说明 |
---|---|
io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.kqueue |
BSD specific transport.
|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.unix |
Unix specific transport.
|
io.netty.handler.codec.dns |
DNS codec.
|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
io.netty.testsuite.transport.socket |
Test suite classes for socket
|
限定符和类型 | 方法和说明 |
---|---|
static LinuxSocket |
LinuxSocket.newSocketDgram(InternetProtocolFamily family) |
static LinuxSocket |
LinuxSocket.newSocketStream(InternetProtocolFamily protocol) |
构造器和说明 |
---|
EpollDatagramChannel(InternetProtocolFamily family)
Create a new instance using the given
InternetProtocolFamily . |
EpollServerSocketChannel(InternetProtocolFamily protocol) |
EpollSocketChannel(InternetProtocolFamily protocol) |
构造器和说明 |
---|
KQueueDatagramChannel(InternetProtocolFamily protocol) |
KQueueSocketChannel(InternetProtocolFamily protocol) |
限定符和类型 | 方法和说明 |
---|---|
static InternetProtocolFamily |
InternetProtocolFamily.of(java.net.InetAddress address)
Returns the
InternetProtocolFamily for the given InetAddress . |
static InternetProtocolFamily |
InternetProtocolFamily.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static InternetProtocolFamily[] |
InternetProtocolFamily.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
NioDatagramChannel(InternetProtocolFamily ipFamily)
Create a new instance using the given
InternetProtocolFamily . |
NioDatagramChannel(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily ipFamily)
Create a new instance using the given
SelectorProvider and InternetProtocolFamily . |
NioServerSocketChannel(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily family)
Create a new instance using the given
SelectorProvider and protocol family (supported only since JDK 15). |
NioSocketChannel(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily family)
Create a new instance using the given
SelectorProvider and protocol family (supported only since JDK 15). |
限定符和类型 | 方法和说明 |
---|---|
protected static int |
Socket.newSocketDgram0(InternetProtocolFamily family) |
protected static int |
Socket.newSocketStream0(InternetProtocolFamily protocol) |
static boolean |
Socket.shouldUseIpv6(InternetProtocolFamily family) |
构造器和说明 |
---|
DefaultDnsOptEcsRecord(int maxPayloadSize,
InternetProtocolFamily protocolFamily)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
static ResolvedAddressTypes |
DnsNameResolverBuilder.computeResolvedAddressTypes(InternetProtocolFamily... internetProtocolFamilies)
Compute a
ResolvedAddressTypes from some InternetProtocolFamily s. |
限定符和类型 | 方法和说明 |
---|---|
protected InternetProtocolFamily |
AbstractDatagramTest.groupInternetProtocalFamily() |
protected InternetProtocolFamily |
DatagramUnicastIPv6Test.internetProtocolFamily() |
protected InternetProtocolFamily |
DatagramMulticastIPv6Test.internetProtocolFamily() |
protected InternetProtocolFamily |
AbstractDatagramTest.internetProtocolFamily() |
protected InternetProtocolFamily |
AbstractDatagramTest.socketInternetProtocalFamily() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<TestsuitePermutation.BootstrapComboFactory<Bootstrap,Bootstrap>> |
SocketTestPermutation.datagram(InternetProtocolFamily family) |