Uses of Class
io.netty.channel.socket.SocketProtocolFamily
-
Packages that use SocketProtocolFamily 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). -
-
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(ProtocolFamily family)Return theSocketProtocolFamilyfor the givenProtocolFamilyif possible.SocketProtocolFamilyInternetProtocolFamily. toSocketProtocolFamily()Deprecated.static SocketProtocolFamilySocketProtocolFamily. valueOf(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
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(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).
-