Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static LinuxSocket |
LinuxSocket.newSocketDgram(InternetProtocolFamily family) |
static LinuxSocket |
LinuxSocket.newSocketStream(InternetProtocolFamily protocol) |
Constructor and Description |
---|
EpollDatagramChannel(InternetProtocolFamily family)
Create a new instance using the given
InternetProtocolFamily . |
EpollServerSocketChannel(InternetProtocolFamily protocol) |
EpollSocketChannel(InternetProtocolFamily protocol) |
Constructor and Description |
---|
KQueueDatagramChannel(InternetProtocolFamily protocol) |
KQueueSocketChannel(InternetProtocolFamily protocol) |
Modifier and Type | Method and Description |
---|---|
static InternetProtocolFamily |
InternetProtocolFamily.of(InetAddress address)
Returns the
InternetProtocolFamily for the given InetAddress . |
static InternetProtocolFamily |
InternetProtocolFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternetProtocolFamily[] |
InternetProtocolFamily.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
NioDatagramChannel(InternetProtocolFamily ipFamily)
Create a new instance using the given
InternetProtocolFamily . |
NioDatagramChannel(SelectorProvider provider,
InternetProtocolFamily ipFamily)
Create a new instance using the given
SelectorProvider and InternetProtocolFamily . |
NioServerSocketChannel(SelectorProvider provider,
InternetProtocolFamily family)
Create a new instance using the given
SelectorProvider and protocol family (supported only since JDK 15). |
NioSocketChannel(SelectorProvider provider,
InternetProtocolFamily family)
Create a new instance using the given
SelectorProvider and protocol family (supported only since JDK 15). |
Modifier and Type | Method and Description |
---|---|
protected static int |
Socket.newSocketDgram0(InternetProtocolFamily family) |
protected static int |
Socket.newSocketStream0(InternetProtocolFamily protocol) |
static boolean |
Socket.shouldUseIpv6(InternetProtocolFamily family) |
Constructor and Description |
---|
DefaultDnsOptEcsRecord(int maxPayloadSize,
InternetProtocolFamily protocolFamily)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ResolvedAddressTypes |
DnsNameResolverBuilder.computeResolvedAddressTypes(InternetProtocolFamily... internetProtocolFamilies)
Compute a
ResolvedAddressTypes from some InternetProtocolFamily s. |
Copyright © 2008–2024 The Netty Project. All rights reserved.