@InterfaceAudience.Private public class NettyHBaseRpcConnectionHeaderHandler extends org.apache.hbase.thirdparty.io.netty.channel.SimpleChannelInboundHandler<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description | 
|---|---|
| private org.apache.hadoop.conf.Configuration | conf | 
| private org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf | connectionHeaderWithLength | 
| private org.apache.hbase.thirdparty.io.netty.util.concurrent.Promise<Boolean> | saslPromise | 
| 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) | 
| private void | setupCryptoAESHandler(org.apache.hbase.thirdparty.io.netty.channel.ChannelPipeline p,
                     CryptoAES cryptoAES)Remove handlers for sasl encryption and add handlers for Crypto AES encryption | 
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharableprivate final org.apache.hbase.thirdparty.io.netty.util.concurrent.Promise<Boolean> saslPromise
private final org.apache.hadoop.conf.Configuration conf
private final org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf connectionHeaderWithLength
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>Exceptionpublic void handlerAdded(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx)
handlerAdded in interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerhandlerAdded in class org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerAdapterpublic void exceptionCaught(org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
exceptionCaught in interface org.apache.hbase.thirdparty.io.netty.channel.ChannelHandlerexceptionCaught in interface org.apache.hbase.thirdparty.io.netty.channel.ChannelInboundHandlerexceptionCaught in class org.apache.hbase.thirdparty.io.netty.channel.ChannelInboundHandlerAdapterprivate void setupCryptoAESHandler(org.apache.hbase.thirdparty.io.netty.channel.ChannelPipeline p, CryptoAES cryptoAES)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.