示例#1
0
 public override void OnEvent(TmCommitResponseEvent e)
 {
     if (e.Status != Status.Committed)
     {
         DiagnosticUtility.FailFast("Transaction manager should respond Committed to Commit");
     }
     base.state.TwoPhaseCommitParticipant.SendCommitted(e.Coordinator);
     e.StateMachine.ChangeState(base.state.States.CoordinatorCommitted);
 }
 public override void OnEvent(TmCommitResponseEvent e)
 {
     if (e.Status != Status.Committed)
     {
         DiagnosticUtility.FailFast("Transaction manager should respond Committed to Commit");
     }
     base.state.TwoPhaseCommitParticipant.SendCommitted(e.Coordinator);
     e.StateMachine.ChangeState(base.state.States.CoordinatorCommitted);
 }
 public virtual void OnEvent(TmCommitResponseEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
示例#4
0
 public virtual void OnEvent(TmCommitResponseEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
 public void OnEvent(TmCommitResponseEvent e)
 {
     this.TraceTmResponse(e, e.Status);
 }