@InterfaceAudience.Private public class AsyncServerResponseHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>
| Constructor and Description |
|---|
AsyncServerResponseHandler(AsyncRpcChannel channel)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf inBuffer) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic AsyncServerResponseHandler(AsyncRpcChannel channel)
channel - on which this response handler operatesprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf inBuffer)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.