public class ServerOnResponseProcessor extends Object implements RemotingProcessor
process message type:
RM:
1) BranchCommitResponse
2) BranchRollbackResponse
| Constructor and Description |
|---|
ServerOnResponseProcessor(TransactionMessageHandler transactionMessageHandler,
ConcurrentHashMap<Integer,MessageFuture> futures) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
Process message
|
public ServerOnResponseProcessor(TransactionMessageHandler transactionMessageHandler, ConcurrentHashMap<Integer,MessageFuture> futures)
public void process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
throws Exception
RemotingProcessorprocess in interface RemotingProcessorctx - Channel handler context.rpcMessage - rpc message.Exception - throws exception process message error.Copyright © 2023 Seata. All rights reserved.