Class NettyHelper

java.lang.Object
com.mapr.client.impl.rpc.NettyHelper

public class NettyHelper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.netty.channel.ChannelInboundHandlerAdapter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.channel.EventLoopGroup
    createEventLoopGroup(String prefix, int nThreads)
     
    static Class<? extends io.netty.channel.socket.SocketChannel>
     
    static Class<? extends io.netty.channel.socket.ServerSocketChannel>
     
    static io.netty.bootstrap.Bootstrap
    newClientBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer)
     
    static io.netty.bootstrap.ServerBootstrap
    newServerBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_INBOUND_HANDLER

      public static final io.netty.channel.ChannelInboundHandlerAdapter DEFAULT_INBOUND_HANDLER
  • Constructor Details

    • NettyHelper

      public NettyHelper()
  • Method Details

    • newServerBootstrap

      public static io.netty.bootstrap.ServerBootstrap newServerBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer)
    • newClientBootstrap

      public static io.netty.bootstrap.Bootstrap newClientBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer)
    • getClientSocketChannel

      public static Class<? extends io.netty.channel.socket.SocketChannel> getClientSocketChannel()
    • getServerSocketChannel

      public static Class<? extends io.netty.channel.socket.ServerSocketChannel> getServerSocketChannel()
    • createEventLoopGroup

      public static io.netty.channel.EventLoopGroup createEventLoopGroup(String prefix, int nThreads)