Uses of Class
io.netty.channel.socket.InternetProtocolFamily
-
Packages that use InternetProtocolFamily 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. -
-
Uses of InternetProtocolFamily in io.netty.channel.epoll
Methods in io.netty.channel.epoll that return InternetProtocolFamily Modifier and Type Method Description (package private) InternetProtocolFamily
LinuxSocket. family()
Methods in io.netty.channel.epoll with parameters of type InternetProtocolFamily Modifier and Type Method Description static LinuxSocket
LinuxSocket. newSocketDgram(InternetProtocolFamily family)
static LinuxSocket
LinuxSocket. newSocketStream(InternetProtocolFamily protocol)
Constructors in io.netty.channel.epoll with parameters of type InternetProtocolFamily Constructor Description EpollDatagramChannel(InternetProtocolFamily family)
Create a new instance using the givenInternetProtocolFamily
.EpollServerSocketChannel(InternetProtocolFamily protocol)
EpollSocketChannel(InternetProtocolFamily protocol)
-
Uses of InternetProtocolFamily in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue with parameters of type InternetProtocolFamily Modifier and Type Method Description static BsdSocket
BsdSocket. newSocketDgram(InternetProtocolFamily protocol)
static BsdSocket
BsdSocket. newSocketStream(InternetProtocolFamily protocol)
Constructors in io.netty.channel.kqueue with parameters of type InternetProtocolFamily Constructor Description KQueueDatagramChannel(InternetProtocolFamily protocol)
KQueueSocketChannel(InternetProtocolFamily protocol)
-
Uses of InternetProtocolFamily in io.netty.channel.socket
Methods in io.netty.channel.socket that return InternetProtocolFamily Modifier and Type Method Description static InternetProtocolFamily
InternetProtocolFamily. of(java.net.InetAddress address)
Returns theInternetProtocolFamily
for the givenInetAddress
.static InternetProtocolFamily
InternetProtocolFamily. valueOf(java.lang.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. -
Uses of InternetProtocolFamily in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio with parameters of type InternetProtocolFamily Modifier and Type Method Description static java.net.ProtocolFamily
ProtocolFamilyConverter. convert(InternetProtocolFamily family)
Convert theInternetProtocolFamily
.private static java.nio.channels.ServerSocketChannel
NioServerSocketChannel. newChannel(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily family)
private static java.nio.channels.SocketChannel
NioSocketChannel. newChannel(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily family)
(package private) static <C extends java.nio.channels.Channel>
CSelectorProviderUtil. newChannel(java.lang.reflect.Method method, java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily family)
private static java.nio.channels.DatagramChannel
NioDatagramChannel. newSocket(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily ipFamily)
Constructors in io.netty.channel.socket.nio with parameters of type InternetProtocolFamily Constructor Description NioDatagramChannel(InternetProtocolFamily ipFamily)
Create a new instance using the givenInternetProtocolFamily
.NioDatagramChannel(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily ipFamily)
Create a new instance using the givenSelectorProvider
andInternetProtocolFamily
.NioServerSocketChannel(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily family)
Create a new instance using the givenSelectorProvider
and protocol family (supported only since JDK 15).NioSocketChannel(java.nio.channels.spi.SelectorProvider provider, InternetProtocolFamily family)
Create a new instance using the givenSelectorProvider
and protocol family (supported only since JDK 15). -
Uses of InternetProtocolFamily in io.netty.channel.unix
Methods in io.netty.channel.unix with parameters of type InternetProtocolFamily Modifier and Type Method Description protected static int
Socket. newSocketDgram0(InternetProtocolFamily family)
protected static int
Socket. newSocketStream0(InternetProtocolFamily protocol)
static boolean
Socket. shouldUseIpv6(InternetProtocolFamily family)
-
Uses of InternetProtocolFamily in io.netty.handler.codec.dns
Constructors in io.netty.handler.codec.dns with parameters of type InternetProtocolFamily Constructor Description DefaultDnsOptEcsRecord(int maxPayloadSize, InternetProtocolFamily protocolFamily)
Creates a new instance. -
Uses of InternetProtocolFamily in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as InternetProtocolFamily Modifier and Type Field Description private static InternetProtocolFamily[]
DnsNameResolver. IPV4_ONLY_RESOLVED_PROTOCOL_FAMILIES
private static InternetProtocolFamily[]
DnsNameResolver. IPV4_PREFERRED_RESOLVED_PROTOCOL_FAMILIES
private static InternetProtocolFamily[]
DnsNameResolver. IPV6_ONLY_RESOLVED_PROTOCOL_FAMILIES
private static InternetProtocolFamily[]
DnsNameResolver. IPV6_PREFERRED_RESOLVED_PROTOCOL_FAMILIES
private InternetProtocolFamily
DnsNameResolver. preferredAddressType
private InternetProtocolFamily[]
DnsNameResolver. resolvedInternetProtocolFamilies
Methods in io.netty.resolver.dns that return InternetProtocolFamily Modifier and Type Method Description (package private) InternetProtocolFamily
DnsNameResolver. preferredAddressType()
(package private) static InternetProtocolFamily
DnsNameResolver. preferredAddressType(ResolvedAddressTypes resolvedAddressTypes)
(package private) InternetProtocolFamily[]
DnsNameResolver. resolvedInternetProtocolFamiliesUnsafe()
Methods in io.netty.resolver.dns with parameters of type InternetProtocolFamily Modifier and Type Method Description (package private) static PreferredAddressTypeComparator
PreferredAddressTypeComparator. comparator(InternetProtocolFamily family)
static ResolvedAddressTypes
DnsNameResolverBuilder. computeResolvedAddressTypes(InternetProtocolFamily... internetProtocolFamilies)
Compute aResolvedAddressTypes
from someInternetProtocolFamily
s.(package private) static boolean
DnsNameResolver. doResolveAllCached(java.lang.String hostname, DnsRecord[] additionals, Promise<java.util.List<java.net.InetAddress>> promise, DnsCache resolveCache, java.lang.String[] searchDomains, int ndots, InternetProtocolFamily[] resolvedInternetProtocolFamilies)
-