public class NettyClientHandler extends io.netty.channel.SimpleChannelInboundHandler<RpcResponse>
| 构造器和说明 |
|---|
NettyClientHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
RpcResponse msg) |
void |
channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregisteredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
RpcResponse msg)
throws Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<RpcResponse>Exceptionpublic void channelWritabilityChanged(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelWritabilityChanged 在接口中 io.netty.channel.ChannelInboundHandlerchannelWritabilityChanged 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2025. All rights reserved.