public class ClientOnResponseProcessor extends Object implements RemotingProcessor
process message type:
RM:
1) MergeResultMessage
2) RegisterRMResponse
3) BranchRegisterResponse
4) BranchReportResponse
5) GlobalLockQueryResponse
TM:
1) MergeResultMessage
2) RegisterTMResponse
3) GlobalBeginResponse
4) GlobalCommitResponse
5) GlobalReportResponse
6) GlobalRollbackResponse
| Constructor and Description |
|---|
ClientOnResponseProcessor(Map<Integer,MergeMessage> mergeMsgMap,
ConcurrentHashMap<Integer,MessageFuture> futures,
TransactionMessageHandler transactionMessageHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
Process message
|
public ClientOnResponseProcessor(Map<Integer,MergeMessage> mergeMsgMap, ConcurrentHashMap<Integer,MessageFuture> futures, TransactionMessageHandler transactionMessageHandler)
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.