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.
| Modifier and Type | Method and Description |
|---|---|
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 © 2023 Seata. All rights reserved.