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
WorkerPoolimplementations 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 holdsBossinstancesThe defaultNioSocketChannelConfigimplementation.The defaultNioSocketChannelConfigimplementation.SpecialChannelConfigsub-type which offers extra methods which are useful for NIO.Bossimplementation that handles the connection attempts of clientsHoldsNioClientBossinstances to useAClientSocketChannelFactorywhich creates a client-side NIO-basedSocketChannel.Provides an NIO basedDatagramChannel.ADatagramChannelConfigfor a NIO TCP/IPDatagramChannel.ADatagramChannelFactorythat 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 connectionsHoldsNioServerBossinstances to useAServerSocketChannelFactorywhich creates a server-side NIO-basedServerSocketChannel.ASocketChannelConfigfor a NIO TCP/IPSocketChannel.Default implementation which hands ofNioWorker'sHelper class which convert theInternetProtocolFamily.ShareableWorkerPool<E extends Worker>This implementation of aWorkerPoolshould be used if you plan to share aWorkerPoolbetween different Factories.WorkerPool<E extends Worker>TheWorkerPoolis responsible to hand ofWorker's on demand