Uses of Class
io.netty.channel.socket.InternetProtocolFamily
-
Packages that use InternetProtocolFamily Package Description 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.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.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.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
. -
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, InternetProtocolFamily[] resolvedInternetProtocolFamilies)
-