程序包 | 说明 |
---|---|
org.jboss.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
org.jboss.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()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
NioDatagramChannelFactory(java.util.concurrent.Executor workerExecutor,
InternetProtocolFamily family)
Creates a new instance.
|
NioDatagramChannelFactory(java.util.concurrent.Executor workerExecutor,
int workerCount,
InternetProtocolFamily family)
Creates a new instance.
|
NioDatagramChannelFactory(InternetProtocolFamily family)
Create a new
NioDatagramChannelFactory with a Executors.newCachedThreadPool() . |
NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool,
InternetProtocolFamily family)
Creates a new instance.
|