Java 类io.netty.channel.sctp.DefaultSctpServerChannelConfig 实例源码

项目:netty4study    文件:NioSctpServerChannel.java   
/**
 * Create a new instance
 */
public NioSctpServerChannel() {
    super(null, newSocket(), SelectionKey.OP_ACCEPT);
    config = new DefaultSctpServerChannelConfig(this, javaChannel());
}
项目:netty-netty-5.0.0.Alpha1    文件:NioSctpServerChannel.java   
/**
 * Create a new instance
 */
public NioSctpServerChannel(EventLoop eventLoop, EventLoopGroup childGroup) {
    super(null, eventLoop, childGroup, newSocket(), SelectionKey.OP_ACCEPT);
    config = new DefaultSctpServerChannelConfig(this, javaChannel());
}