Package com.sissi.server.netty.impl

Source Code of com.sissi.server.netty.impl.NioServerLoopGroup

package com.sissi.server.netty.impl;

import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;

import com.sissi.server.netty.ServerLoopGroup;

/**
* @author kim 2013-11-19
*/
public class NioServerLoopGroup implements ServerLoopGroup {
 
  @Override
  public EventLoopGroup boss() {
    return new NioEventLoopGroup();
  }

  @Override
  public EventLoopGroup event() {
    return new NioEventLoopGroup();
  }
}
TOP

Related Classes of com.sissi.server.netty.impl.NioServerLoopGroup

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.