Uses of Enum
io.netty.channel.socket.SocketProtocolFamily
Packages that use SocketProtocolFamily
Package
Description
Optimized transport for linux which uses EPOLL.
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.
io_uring is a high I/O performance scalable interface for fully
asynchronous Linux syscalls.
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 SocketProtocolFamily in io.netty.channel.epoll
Methods in io.netty.channel.epoll that return SocketProtocolFamilyMethods in io.netty.channel.epoll with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionstatic LinuxSocketLinuxSocket.newSocketDgram(SocketProtocolFamily family) static LinuxSocketLinuxSocket.newSocketStream(SocketProtocolFamily protocol) Constructors in io.netty.channel.epoll with parameters of type SocketProtocolFamilyModifierConstructorDescriptionCreate a new instance using the givenSocketProtocolFamily.EpollServerSocketChannel(SocketProtocolFamily protocol) EpollSocketChannel(SocketProtocolFamily protocol) -
Uses of SocketProtocolFamily in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionstatic BsdSocketBsdSocket.newSocketDgram(SocketProtocolFamily protocol) static BsdSocketBsdSocket.newSocketStream(SocketProtocolFamily protocol) Constructors in io.netty.channel.kqueue with parameters of type SocketProtocolFamilyModifierConstructorDescriptionKQueueDatagramChannel(SocketProtocolFamily protocol) KQueueSocketChannel(SocketProtocolFamily protocol) -
Uses of SocketProtocolFamily in io.netty.channel.socket
Subclasses with type arguments of type SocketProtocolFamily in io.netty.channel.socketModifier and TypeClassDescriptionenumProtocolFamilyimplementation that is used by the different transport implementations.Methods in io.netty.channel.socket that return SocketProtocolFamilyModifier and TypeMethodDescriptionstatic SocketProtocolFamilySocketProtocolFamily.of(ProtocolFamily family) Return theSocketProtocolFamilyfor the givenProtocolFamilyif possible.InternetProtocolFamily.toSocketProtocolFamily()Deprecated.static SocketProtocolFamilyReturns the enum constant of this type with the specified name.static SocketProtocolFamily[]SocketProtocolFamily.values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of SocketProtocolFamily in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionprivate static ServerSocketChannelNioServerSocketChannel.newChannel(SelectorProvider provider, SocketProtocolFamily family) private static SocketChannelNioSocketChannel.newChannel(SelectorProvider provider, SocketProtocolFamily family) (package private) static <C extends Channel>
CSelectorProviderUtil.newChannel(Method method, SelectorProvider provider, SocketProtocolFamily family) private static DatagramChannelNioDatagramChannel.newSocket(SelectorProvider provider, SocketProtocolFamily ipFamily) Constructors in io.netty.channel.socket.nio with parameters of type SocketProtocolFamilyModifierConstructorDescriptionNioDatagramChannel(SocketProtocolFamily protocolFamily) Create a new instance using the givenSocketProtocolFamily.NioDatagramChannel(SelectorProvider provider, SocketProtocolFamily protocolFamily) Create a new instance using the givenSelectorProviderandSocketProtocolFamily.NioServerSocketChannel(SelectorProvider provider, SocketProtocolFamily family) Create a new instance using the givenSelectorProviderand protocol family (supported only since JDK 15).NioSocketChannel(SelectorProvider provider, SocketProtocolFamily family) Create a new instance using the givenSelectorProviderand protocol family (supported only since JDK 15). -
Uses of SocketProtocolFamily in io.netty.channel.unix
Methods in io.netty.channel.unix with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionprotected static intSocket.newSocketDgram0(SocketProtocolFamily family) protected static intSocket.newSocketStream0(SocketProtocolFamily protocol) static booleanSocket.shouldUseIpv6(SocketProtocolFamily family) -
Uses of SocketProtocolFamily in io.netty.channel.uring
Methods in io.netty.channel.uring that return SocketProtocolFamilyMethods in io.netty.channel.uring with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionprivate static booleanIoUringDatagramChannel.useIpv6(SocketProtocolFamily family) Constructors in io.netty.channel.uring with parameters of type SocketProtocolFamily -
Uses of SocketProtocolFamily in io.netty.handler.codec.dns
Methods in io.netty.handler.codec.dns with parameters of type SocketProtocolFamilyModifier and TypeMethodDescriptionprivate static byte[]DefaultDnsOptEcsRecord.localAddress(SocketProtocolFamily family) Constructors in io.netty.handler.codec.dns with parameters of type SocketProtocolFamilyModifierConstructorDescriptionDefaultDnsOptEcsRecord(int maxPayloadSize, SocketProtocolFamily socketProtocolFamily) Creates a new instance. -
Uses of SocketProtocolFamily in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as SocketProtocolFamilyModifier and TypeFieldDescriptionprivate static final SocketProtocolFamily[]DnsNameResolver.IPV4_ONLY_RESOLVED_PROTOCOL_FAMILIESprivate static final SocketProtocolFamily[]DnsNameResolver.IPV4_PREFERRED_RESOLVED_PROTOCOL_FAMILIESprivate static final SocketProtocolFamily[]DnsNameResolver.IPV6_ONLY_RESOLVED_PROTOCOL_FAMILIESprivate static final SocketProtocolFamily[]DnsNameResolver.IPV6_PREFERRED_RESOLVED_PROTOCOL_FAMILIESprivate final SocketProtocolFamilyDnsNameResolver.preferredAddressTypeprivate final SocketProtocolFamily[]DnsNameResolver.resolvedInternetProtocolFamiliesMethods in io.netty.resolver.dns that return SocketProtocolFamilyModifier and TypeMethodDescription(package private) final SocketProtocolFamilyDnsNameResolver.preferredAddressType()(package private) static SocketProtocolFamilyDnsNameResolver.preferredAddressType(ResolvedAddressTypes resolvedAddressTypes) (package private) SocketProtocolFamily[]DnsNameResolver.resolvedInternetProtocolFamiliesUnsafe()private static SocketProtocolFamily[]DnsNameResolverBuilder.toSocketProtocolFamilies(InternetProtocolFamily... internetProtocolFamilies) Methods in io.netty.resolver.dns with parameters of type SocketProtocolFamilyModifier and TypeMethodDescription(package private) static Class<? extends InetAddress> DnsNameResolver.addressType(SocketProtocolFamily f) (package private) static PreferredAddressTypeComparatorPreferredAddressTypeComparator.comparator(SocketProtocolFamily family) (package private) static booleanDnsNameResolver.doResolveAllCached(String hostname, DnsRecord[] additionals, Promise<List<InetAddress>> promise, DnsCache resolveCache, String[] searchDomains, int ndots, SocketProtocolFamily[] resolvedInternetProtocolFamilies) static ResolvedAddressTypesDnsNameResolverBuilder.toResolvedAddressTypes(SocketProtocolFamily... socketProtocolFamilies) Compute aResolvedAddressTypesfrom someSocketProtocolFamilys.