public class RpcExceptionHandler<C extends RemoteConnection> extends Object implements io.netty.channel.ChannelHandler
| Constructor and Description |
|---|
RpcExceptionHandler(C connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
public RpcExceptionHandler(C connection)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerExceptionpublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
handlerAdded in interface io.netty.channel.ChannelHandlerExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.