Uses of Enum
io.netty.channel.socket.InternetProtocolFamily
Packages that use InternetProtocolFamily
Package
Description
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
BSD specific transport.
Abstract TCP and UDP socket interfaces which extend the core channel API.
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Unix specific transport.
DNS codec.
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 InternetProtocolFamilyMethods in io.netty.channel.epoll with parameters of type InternetProtocolFamilyModifier and TypeMethodDescriptionstatic LinuxSocket
LinuxSocket.newSocketDgram
(InternetProtocolFamily family) static LinuxSocket
LinuxSocket.newSocketStream
(InternetProtocolFamily protocol) Constructors in io.netty.channel.epoll with parameters of type InternetProtocolFamilyModifierConstructorDescriptionCreate a new instance using the givenInternetProtocolFamily
.EpollSocketChannel
(InternetProtocolFamily protocol) -
Uses of InternetProtocolFamily in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue with parameters of type InternetProtocolFamilyModifier and TypeMethodDescriptionstatic BsdSocket
BsdSocket.newSocketDgram
(InternetProtocolFamily protocol) static BsdSocket
BsdSocket.newSocketStream
(InternetProtocolFamily protocol) Constructors in io.netty.channel.kqueue with parameters of type InternetProtocolFamilyModifierConstructorDescriptionKQueueDatagramChannel
(InternetProtocolFamily protocol) KQueueSocketChannel
(InternetProtocolFamily protocol) -
Uses of InternetProtocolFamily in io.netty.channel.socket
Methods in io.netty.channel.socket that return InternetProtocolFamilyModifier and TypeMethodDescriptionstatic InternetProtocolFamily
InternetProtocolFamily.of
(InetAddress address) Returns theInternetProtocolFamily
for the givenInetAddress
.static InternetProtocolFamily
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 InternetProtocolFamilyModifier and TypeMethodDescriptionstatic ProtocolFamily
ProtocolFamilyConverter.convert
(InternetProtocolFamily family) Convert theInternetProtocolFamily
.private static ServerSocketChannel
NioServerSocketChannel.newChannel
(SelectorProvider provider, InternetProtocolFamily family) private static SocketChannel
NioSocketChannel.newChannel
(SelectorProvider provider, InternetProtocolFamily family) (package private) static <C extends Channel>
CSelectorProviderUtil.newChannel
(Method method, SelectorProvider provider, InternetProtocolFamily family) private static DatagramChannel
NioDatagramChannel.newSocket
(SelectorProvider provider, InternetProtocolFamily ipFamily) Constructors in io.netty.channel.socket.nio with parameters of type InternetProtocolFamilyModifierConstructorDescriptionNioDatagramChannel
(InternetProtocolFamily ipFamily) Create a new instance using the givenInternetProtocolFamily
.NioDatagramChannel
(SelectorProvider provider, InternetProtocolFamily ipFamily) Create a new instance using the givenSelectorProvider
andInternetProtocolFamily
.NioServerSocketChannel
(SelectorProvider provider, InternetProtocolFamily family) Create a new instance using the givenSelectorProvider
and protocol family (supported only since JDK 15).NioSocketChannel
(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 InternetProtocolFamilyModifier and TypeMethodDescriptionprotected 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 InternetProtocolFamilyModifierConstructorDescriptionDefaultDnsOptEcsRecord
(int maxPayloadSize, InternetProtocolFamily protocolFamily) Creates a new instance. -
Uses of InternetProtocolFamily in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as InternetProtocolFamilyModifier and TypeFieldDescriptionprivate static final InternetProtocolFamily[]
DnsNameResolver.IPV4_ONLY_RESOLVED_PROTOCOL_FAMILIES
private static final InternetProtocolFamily[]
DnsNameResolver.IPV4_PREFERRED_RESOLVED_PROTOCOL_FAMILIES
private static final InternetProtocolFamily[]
DnsNameResolver.IPV6_ONLY_RESOLVED_PROTOCOL_FAMILIES
private static final InternetProtocolFamily[]
DnsNameResolver.IPV6_PREFERRED_RESOLVED_PROTOCOL_FAMILIES
private final InternetProtocolFamily
DnsNameResolver.preferredAddressType
private final InternetProtocolFamily[]
DnsNameResolver.resolvedInternetProtocolFamilies
Methods in io.netty.resolver.dns that return InternetProtocolFamilyModifier and TypeMethodDescription(package private) final 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 InternetProtocolFamilyModifier and TypeMethodDescription(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
(String hostname, DnsRecord[] additionals, Promise<List<InetAddress>> promise, DnsCache resolveCache, String[] searchDomains, int ndots, InternetProtocolFamily[] resolvedInternetProtocolFamilies)