@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, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic 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>Exceptionpublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.