@InterfaceAudience.Private class NettyRpcServerPreambleHandler extends org.apache.hbase.thirdparty.io.netty.channel.SimpleChannelInboundHandler<org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf>
Modifier and Type | Field and Description |
---|---|
private NettyRpcServer |
rpcServer |
Constructor and Description |
---|
NettyRpcServerPreambleHandler(NettyRpcServer rpcServer) |
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) |
protected NettyServerRpcConnection |
createNettyServerRpcConnection(org.apache.hbase.thirdparty.io.netty.channel.Channel channel) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
private final NettyRpcServer rpcServer
public NettyRpcServerPreambleHandler(NettyRpcServer rpcServer)
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
protected NettyServerRpcConnection createNettyServerRpcConnection(org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.