Uses of Class
io.netty.channel.socket.SocketProtocolFamily
-
Packages that use SocketProtocolFamily Package Description io.netty.channel.epoll Optimized transport for linux which uses EPOLL.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.channel.uring io_uring is a high I/O performance scalable interface for fully asynchronous Linux syscalls.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 SocketProtocolFamily in io.netty.channel.epoll
Methods in io.netty.channel.epoll that return SocketProtocolFamily Modifier and Type Method Description (package private) SocketProtocolFamilyLinuxSocket. family()Methods in io.netty.channel.epoll with parameters of type SocketProtocolFamily Modifier and Type Method Description static LinuxSocketLinuxSocket. newSocketDgram(SocketProtocolFamily family)static LinuxSocketLinuxSocket. newSocketStream(SocketProtocolFamily protocol)Constructors in io.netty.channel.epoll with parameters of type SocketProtocolFamily Constructor Description EpollDatagramChannel(SocketProtocolFamily family)Create 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 SocketProtocolFamily Modifier and Type Method Description static BsdSocketBsdSocket. newSocketDgram(SocketProtocolFamily protocol)static BsdSocketBsdSocket. newSocketStream(SocketProtocolFamily protocol)Constructors in io.netty.channel.kqueue with parameters of type SocketProtocolFamily Constructor Description KQueueDatagramChannel(SocketProtocolFamily protocol)KQueueSocketChannel(SocketProtocolFamily protocol) -
Uses of SocketProtocolFamily in io.netty.channel.socket
Methods in io.netty.channel.socket that return SocketProtocolFamily Modifier and Type Method Description static SocketProtocolFamilySocketProtocolFamily. of(java.net.ProtocolFamily family)Return theSocketProtocolFamilyfor the givenProtocolFamilyif possible.SocketProtocolFamilyInternetProtocolFamily. toSocketProtocolFamily()Deprecated.static SocketProtocolFamilySocketProtocolFamily. valueOf(java.lang.String name)Returns 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 SocketProtocolFamily Modifier and Type Method Description private static java.nio.channels.ServerSocketChannelNioServerSocketChannel. newChannel(java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily family)private static java.nio.channels.SocketChannelNioSocketChannel. newChannel(java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily family)(package private) static <C extends java.nio.channels.Channel>
CSelectorProviderUtil. newChannel(java.lang.reflect.Method method, java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily family)private static java.nio.channels.DatagramChannelNioDatagramChannel. newSocket(java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily ipFamily)Constructors in io.netty.channel.socket.nio with parameters of type SocketProtocolFamily Constructor Description NioDatagramChannel(SocketProtocolFamily protocolFamily)Create a new instance using the givenSocketProtocolFamily.NioDatagramChannel(java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily protocolFamily)Create a new instance using the givenSelectorProviderandSocketProtocolFamily.NioServerSocketChannel(java.nio.channels.spi.SelectorProvider provider, SocketProtocolFamily family)Create a new instance using the givenSelectorProviderand protocol family (supported only since JDK 15).NioSocketChannel(java.nio.channels.spi.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 SocketProtocolFamily Modifier and Type Method Description protected 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 SocketProtocolFamily Modifier and Type Method Description (package private) SocketProtocolFamilyLinuxSocket. family()Methods in io.netty.channel.uring with parameters of type SocketProtocolFamily Modifier and Type Method Description private static booleanIoUringDatagramChannel. useIpv6(SocketProtocolFamily family)Constructors in io.netty.channel.uring with parameters of type SocketProtocolFamily Constructor Description IoUringDatagramChannel(SocketProtocolFamily family)Create a new instance using the givenSocketProtocolFamily. -
Uses of SocketProtocolFamily in io.netty.handler.codec.dns
Methods in io.netty.handler.codec.dns with parameters of type SocketProtocolFamily Modifier and Type Method Description private static byte[]DefaultDnsOptEcsRecord. localAddress(SocketProtocolFamily family)Constructors in io.netty.handler.codec.dns with parameters of type SocketProtocolFamily Constructor Description DefaultDnsOptEcsRecord(int maxPayloadSize, SocketProtocolFamily socketProtocolFamily)Creates a new instance. -
Uses of SocketProtocolFamily in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as SocketProtocolFamily Modifier and Type Field Description private static SocketProtocolFamily[]DnsNameResolver. IPV4_ONLY_RESOLVED_PROTOCOL_FAMILIESprivate static SocketProtocolFamily[]DnsNameResolver. IPV4_PREFERRED_RESOLVED_PROTOCOL_FAMILIESprivate static SocketProtocolFamily[]DnsNameResolver. IPV6_ONLY_RESOLVED_PROTOCOL_FAMILIESprivate static SocketProtocolFamily[]DnsNameResolver. IPV6_PREFERRED_RESOLVED_PROTOCOL_FAMILIESprivate SocketProtocolFamilyDnsNameResolver. preferredAddressTypeprivate SocketProtocolFamily[]DnsNameResolver. resolvedInternetProtocolFamiliesMethods in io.netty.resolver.dns that return SocketProtocolFamily Modifier and Type Method Description (package private) 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 SocketProtocolFamily Modifier and Type Method Description (package private) static java.lang.Class<? extends java.net.InetAddress>DnsNameResolver. addressType(SocketProtocolFamily f)(package private) static PreferredAddressTypeComparatorPreferredAddressTypeComparator. comparator(SocketProtocolFamily family)(package private) static booleanDnsNameResolver. doResolveAllCached(java.lang.String hostname, DnsRecord[] additionals, Promise<java.util.List<java.net.InetAddress>> promise, DnsCache resolveCache, java.lang.String[] searchDomains, int ndots, SocketProtocolFamily[] resolvedInternetProtocolFamilies)static ResolvedAddressTypesDnsNameResolverBuilder. toResolvedAddressTypes(SocketProtocolFamily... socketProtocolFamilies)Compute aResolvedAddressTypesfrom someSocketProtocolFamilys.
-