public interface RemotingProcessor
Used to encapsulate remote interaction logic. In order to separate the processing business from netty. When netty starts, it will register processors to abstractNettyRemoting#processorTable.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
Process message
|
void process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
throws Exception
ctx - Channel handler context.rpcMessage - rpc message.Exception - throws exception process message error.Copyright © 2022 Seata. All rights reserved.