コード例 #1
0
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurableActive), "OnEvent(replay)");
     ParticipantEnlistment participant = e.Participant;
     base.state.TwoPhaseCommitCoordinator.SendRollback(participant);
     base.state.TransactionManagerSend.Rollback(participant);
     e.StateMachine.ChangeState(base.state.States.DurableAborted);
 }
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurablePreparing), "OnEvent(replay)");
     ParticipantEnlistment participant = e.Participant;
     if (DurableParticipantReplayWhilePreparingRecord.ShouldTrace)
     {
         DurableParticipantReplayWhilePreparingRecord.Trace(participant.EnlistmentId, participant.Enlistment.RemoteTransactionId);
     }
     base.state.TwoPhaseCommitCoordinator.SendRollback(participant);
     base.state.TransactionManagerSend.Aborted(participant);
     e.StateMachine.ChangeState(base.state.States.DurableAborted);
 }
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurableRejoined), "OnEvent(replay)");
 }
コード例 #4
0
 public virtual void OnEvent(MsgReplayEvent e)
 {
     this.InvalidParticipantMessage(e);
 }
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurableCommitting), "OnEvent(replay)");
     base.state.TwoPhaseCommitCoordinator.SendCommit(e.Participant);
 }
コード例 #6
0
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurableAborted), "OnEvent(replay)");
     base.state.TwoPhaseCommitCoordinator.SendRollback(e.ReplyTo);
 }
 public override void OnEvent(MsgReplayEvent e)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(base.state.ProtocolVersion, typeof(DurableRecoveryAwaitingRollback), "OnEvent(replay)");
 }
コード例 #8
0
 public void OnEvent(MsgReplayEvent e)
 {
     this.TraceNotificationMessage(e);
 }