net.gleamynode.netty.channel.socket.nio
Class NioServerSocketChannelFactory

java.lang.Object
  extended by net.gleamynode.netty.channel.socket.nio.NioServerSocketChannelFactory
All Implemented Interfaces:
ChannelFactory, ServerSocketChannelFactory

public class NioServerSocketChannelFactory
extends Object
implements ServerSocketChannelFactory


Constructor Summary
NioServerSocketChannelFactory(Executor bossExecutor, Executor workerExecutor)
           
NioServerSocketChannelFactory(Executor bossExecutor, Executor workerExecutor, int workerCount)
           
 
Method Summary
 ServerSocketChannel newChannel(ChannelPipeline pipeline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioServerSocketChannelFactory

public NioServerSocketChannelFactory(Executor bossExecutor,
                                     Executor workerExecutor)

NioServerSocketChannelFactory

public NioServerSocketChannelFactory(Executor bossExecutor,
                                     Executor workerExecutor,
                                     int workerCount)
Method Detail

newChannel

public ServerSocketChannel newChannel(ChannelPipeline pipeline)
Specified by:
newChannel in interface ChannelFactory
Specified by:
newChannel in interface ServerSocketChannelFactory


Copyright © 2008-Present Trustin Heuiseung Lee. All Rights Reserved.