Esempio n. 1
0
        public override void OnEvent(TmAsyncRollbackEvent e)
        {
            CoordinatorEnlistment coordinator = (CoordinatorEnlistment)e.Enlistment;

            coordinator.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Aborted(coordinator);
        }
Esempio n. 2
0
        public override void OnEvent(TmAsyncRollbackEvent e)
        {
            CompletionEnlistment completion = (CompletionEnlistment)e.Enlistment;

            completion.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Aborted(completion);
            e.StateMachine.ChangeState(base.state.States.CompletionAborted);
        }
Esempio n. 3
0
        protected void ProcessTmAsyncRollback(TmAsyncRollbackEvent e)
        {
            CoordinatorEnlistment coordinator = (CoordinatorEnlistment)e.Enlistment;

            coordinator.SetCallback(e.Callback, e.CallbackState);
            this.state.TransactionManagerSend.Aborted(coordinator);
            e.StateMachine.ChangeState(this.state.States.CoordinatorAborted);
        }
Esempio n. 4
0
 public virtual void OnEvent(TmAsyncRollbackEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
Esempio n. 5
0
 public override void OnEvent(TmAsyncRollbackEvent e)
 {
     base.ProcessTmAsyncRollback(e);
 }