public class NettyServerHandler extends io.netty.channel.SimpleChannelInboundHandler<XxlRpcRequest>
| 构造器和说明 |
|---|
NettyServerHandler(XxlRpcProviderFactory xxlRpcProviderFactory,
ThreadPoolExecutor serverHandlerPool) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
XxlRpcRequest xxlRpcRequest) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyServerHandler(XxlRpcProviderFactory xxlRpcProviderFactory, ThreadPoolExecutor serverHandlerPool)
public void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
XxlRpcRequest xxlRpcRequest)
throws Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<XxlRpcRequest>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterCopyright © 2019. All rights reserved.