程序包 | 说明 |
---|---|
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).
|
限定符和类型 | 方法和说明 |
---|---|
static InternetProtocolFamily |
InternetProtocolFamily.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static InternetProtocolFamily[] |
InternetProtocolFamily.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
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 . |