Package org.jboss.netty.channel.socket.nio
package org.jboss.netty.channel.socket.nio
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
-
ClassDescriptionAbstractNioBossPool<E extends Boss>AbstractNioWorkerPool<E extends AbstractNioWorker>Abstract base class for
WorkerPool
implementations that create theWorker
's up-front and return them in a "fair" fashion when callingAbstractNioWorkerPool.nextWorker()
Serves the boss tasks like connecting/acceptingA Pool that holdsBoss
instancesThe defaultNioSocketChannelConfig
implementation.The defaultNioSocketChannelConfig
implementation.SpecialChannelConfig
sub-type which offers extra methods which are useful for NIO.Boss
implementation that handles the connection attempts of clientsHoldsNioClientBoss
instances to useAClientSocketChannelFactory
which creates a client-side NIO-basedSocketChannel
.Provides an NIO basedDatagramChannel
.ADatagramChannelConfig
for a NIO TCP/IPDatagramChannel
.ADatagramChannelFactory
that creates a NIO-based connectionlessDatagramChannel
.Receives downstream events from aChannelPipeline
.A class responsible for registering channels withSelector
.Default implementation which hands ofNioDatagramWorker
'sBoss implementation which handles accepting of new connectionsHoldsNioServerBoss
instances to useAServerSocketChannelFactory
which creates a server-side NIO-basedServerSocketChannel
.ASocketChannelConfig
for a NIO TCP/IPSocketChannel
.Default implementation which hands ofNioWorker
'sHelper class which convert theInternetProtocolFamily
.ShareableWorkerPool<E extends Worker>This implementation of aWorkerPool
should be used if you plan to share aWorkerPool
between different Factories.WorkerPool<E extends Worker>TheWorkerPool
is responsible to hand ofWorker
's on demand