public override void OnEvent(TmPrepareEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Aborted(participant);
        }
 public override void OnEvent(TmPrepareEvent e)
 {
     ParticipantEnlistment participant = e.Participant;
     participant.SetCallback(e.Callback, e.CallbackState);
     base.state.TwoPhaseCommitCoordinator.SendPrepare(participant);
     e.StateMachine.ChangeState(base.state.States.DurablePreparing);
 }
 public override void OnEvent(TmPrepareEvent e)
 {
     ParticipantEnlistment participant = e.Participant;
     participant.SetCallback(e.Callback, e.CallbackState);
     base.state.TransactionManagerSend.ReadOnly(participant);
     e.StateMachine.ChangeState(base.state.States.DurableInDoubt);
 }
 public override void OnEvent(TmPrepareEvent e)
 {
     ParticipantEnlistment participant = e.Participant;
     participant.SetCallback(e.Callback, e.CallbackState);
     base.state.TransactionManagerSend.Prepared(participant);
     e.StateMachine.ChangeState(base.state.States.VolatilePrepared);
 }
        public override void OnEvent(TmPrepareEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Prepared(participant);
            e.StateMachine.ChangeState(base.state.States.VolatilePrepared);
        }
        public override void OnEvent(TmPrepareEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TwoPhaseCommitCoordinator.SendPrepare(participant);
            e.StateMachine.ChangeState(base.state.States.DurablePreparing);
        }
Exemplo n.º 7
0
        public override void OnEvent(TmPrepareEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.ReadOnly(participant);
            participant.StateMachine.ChangeState(base.state.States.SubordinateFinished);
        }
 public virtual void OnEvent(TmPrepareEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
Exemplo n.º 9
0
 public virtual void OnEvent(TmPrepareEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
 public override void OnEvent(TmPrepareEvent e)
 {
     ParticipantEnlistment participant = e.Participant;
     participant.SetCallback(e.Callback, e.CallbackState);
     base.state.TransactionManagerSend.Aborted(participant);
 }
 public void OnEvent(TmPrepareEvent e)
 {
     this.TraceTmEvent(e);
 }