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).
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static java.net.ProtocolFamily |
ProtocolFamilyConverter.convert(InternetProtocolFamily family)
Convert the
InternetProtocolFamily . |
private static java.nio.channels.DatagramChannel |
NioDatagramChannel.newSocket(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily ipFamily) |
Constructor and Description |
---|
NioDatagramChannel(InternetProtocolFamily ipFamily)
Create a new instance using the given
InternetProtocolFamily . |
NioDatagramChannel(java.nio.channels.spi.SelectorProvider provider,
InternetProtocolFamily ipFamily)
Create a new instance using the given
SelectorProvider and InternetProtocolFamily . |