Package org.jboss.netty.channel.socket.nio
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
-
Interface Summary Interface Description Boss Serves the boss tasks like connecting/acceptingBossPool<E extends Boss> A Pool that holdsBoss
instancesNioChannelConfig SpecialChannelConfig
sub-type which offers extra methods which are useful for NIO.NioDatagramChannelConfig ADatagramChannelConfig
for a NIO TCP/IPDatagramChannel
.NioSelector NioSelectorPool NioSocketChannelConfig ASocketChannelConfig
for a NIO TCP/IPSocketChannel
.WorkerPool<E extends Worker> TheWorkerPool
is responsible to hand ofWorker
's on demand -
Class Summary Class Description AbstractNioBossPool<E extends Boss> AbstractNioChannelSink AbstractNioWorkerPool<E extends org.jboss.netty.channel.socket.nio.AbstractNioWorker> Abstract base class forWorkerPool
implementations that create theWorker
's up-front and return them in a "fair" fashion when callingAbstractNioWorkerPool.nextWorker()
NioClientBoss Boss
implementation that handles the connection attempts of clientsNioClientBossPool HoldsNioClientBoss
instances to useNioClientSocketChannelFactory AClientSocketChannelFactory
which creates a client-side NIO-basedSocketChannel
.NioDatagramChannel Provides an NIO basedDatagramChannel
.NioDatagramChannelFactory ADatagramChannelFactory
that creates a NIO-based connectionlessDatagramChannel
.NioDatagramWorker A class responsible for registering channels withSelector
.NioDatagramWorkerPool Default implementation which hands ofNioDatagramWorker
'sNioServerBoss Boss implementation which handles accepting of new connectionsNioServerBossPool HoldsNioServerBoss
instances to useNioServerSocketChannelFactory AServerSocketChannelFactory
which creates a server-side NIO-basedServerSocketChannel
.NioSocketChannel NioWorker NioWorkerPool Default implementation which hands ofNioWorker
'sShareableWorkerPool<E extends Worker> This implementation of aWorkerPool
should be used if you plan to share aWorkerPool
between different Factories.