程序包 | 说明 |
---|---|
org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
限定符和类型 | 方法和说明 |
---|---|
NioWorker |
NioSocketChannel.getWorker() |
protected NioWorker |
NioWorkerPool.newWorker(java.util.concurrent.Executor executor) |
构造器和说明 |
---|
NioSocketChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink,
java.nio.channels.SocketChannel socket,
NioWorker worker) |
构造器和说明 |
---|
NioClientSocketChannelFactory(BossPool<NioClientBoss> bossPool,
WorkerPool<NioWorker> workerPool)
Creates a new instance.
|
NioClientSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
int bossCount,
WorkerPool<NioWorker> workerPool)
Creates a new instance.
|
NioClientSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
int bossCount,
WorkerPool<NioWorker> workerPool,
Timer timer)
Creates a new instance.
|
NioServerSocketChannelFactory(BossPool<NioServerBoss> bossPool,
WorkerPool<NioWorker> workerPool)
Create a new instance.
|
NioServerSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
int bossCount,
WorkerPool<NioWorker> workerPool)
Create a new instance.
|
NioServerSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
WorkerPool<NioWorker> workerPool)
Creates a new instance.
|