Example usage for io.netty.channel.socket DefaultServerSocketChannelConfig DefaultServerSocketChannelConfig

List of usage examples for io.netty.channel.socket DefaultServerSocketChannelConfig DefaultServerSocketChannelConfig

Introduction

In this page you can find the example usage for io.netty.channel.socket DefaultServerSocketChannelConfig DefaultServerSocketChannelConfig.

Prototype

public DefaultServerSocketChannelConfig(ServerSocketChannel channel, ServerSocket javaSocket) 

Source Link

Document

Creates a new instance.

Usage

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());
}