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