List of usage examples for io.netty.channel.socket DefaultServerSocketChannelConfig DefaultServerSocketChannelConfig
public DefaultServerSocketChannelConfig(ServerSocketChannel channel, ServerSocket javaSocket)
From source file:org.fusesource.hawtdispatch.netty.HawtServerSocketChannel.java
License:Apache License
/** * Create a new instance//from ww w.j a v a 2s . c o m */ public HawtServerSocketChannel() throws IOException { super(null, null, newSocket()); javaChannel().configureBlocking(false); config = new DefaultServerSocketChannelConfig(this, javaChannel().socket()); }