Package com.mapr.client.impl.rpc
Class NettyHelper
java.lang.Object
com.mapr.client.impl.rpc.NettyHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.netty.channel.ChannelInboundHandlerAdapter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.channel.EventLoopGroupcreateEventLoopGroup(String prefix, int nThreads) static Class<? extends io.netty.channel.socket.SocketChannel>static Class<? extends io.netty.channel.socket.ServerSocketChannel>static io.netty.bootstrap.BootstrapnewClientBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer) static io.netty.bootstrap.ServerBootstrapnewServerBootstrap(io.netty.channel.EventLoopGroup eventLoopGroup, io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> channelInitializer)
-
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
-
getServerSocketChannel
-
createEventLoopGroup
-