public class ServerOnResponseProcessor extends Object implements RemotingProcessor
process message type:
RM:
1) BranchCommitResponse
2) BranchRollbackResponse
| 构造器和说明 |
|---|
ServerOnResponseProcessor(TransactionMessageHandler transactionMessageHandler,
ConcurrentHashMap<Integer,MessageFuture> futures) |
public ServerOnResponseProcessor(TransactionMessageHandler transactionMessageHandler, ConcurrentHashMap<Integer,MessageFuture> futures)
public void process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
throws Exception
RemotingProcessorprocess 在接口中 RemotingProcessorctx - Channel handler context.rpcMessage - rpc message.Exception - throws exception process message error.Copyright © 2020 Seata. All rights reserved.