Madan Jampani

Revert netty nativ support

......@@ -17,8 +17,6 @@ import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.channel.epoll.EpollEventLoopGroup;
import io.netty.channel.epoll.EpollSocketChannel;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
......@@ -57,14 +55,9 @@ public class NettyMessagingService implements MessagingService {
// TODO: make this configurable.
private void initEventLoopGroup() {
try {
workerGroup = new EpollEventLoopGroup();
channelClass = EpollSocketChannel.class;
} catch (Throwable t) {
workerGroup = new NioEventLoopGroup();
channelClass = NioSocketChannel.class;
}
}
public NettyMessagingService() {
// TODO: Default port should be configurable.
......