@InterfaceAudience.Private public class NettyHBaseRpcConnectionHeaderHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>
Constructor and Description |
---|
NettyHBaseRpcConnectionHeaderHandler(io.netty.util.concurrent.Promise<Boolean> saslPromise,
org.apache.hadoop.conf.Configuration conf,
io.netty.buffer.ByteBuf connectionHeaderWithLength) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
public NettyHBaseRpcConnectionHeaderHandler(io.netty.util.concurrent.Promise<Boolean> saslPromise, org.apache.hadoop.conf.Configuration conf, io.netty.buffer.ByteBuf connectionHeaderWithLength)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg) throws Exception
channelRead0
in class io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>
Exception
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded
in interface io.netty.channel.ChannelHandler
handlerAdded
in class io.netty.channel.ChannelHandlerAdapter
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.