public override void OnEvent(TmReplayEvent e) { CoordinatorEnlistment coordinator = e.Coordinator; coordinator.SetCallback(e.Callback, e.CallbackState); base.state.TransactionManagerSend.Replayed(coordinator); }
public override void OnEvent(TmReplayEvent e) { if (base.state.Recovering) { DiagnosticUtility.FailFast("Replay events should only be re-delivered after recovery"); } e.StateMachine.ChangeState(base.state.States.CoordinatorRecovered); }
public override void OnEvent(TmReplayEvent e) { if (!base.state.Recovering) { DiagnosticUtility.FailFast("Replay events should only be delivered during recovery"); } CoordinatorEnlistment coordinator = e.Coordinator; base.state.EnqueueRecoveryReplay(e); coordinator.SetCallback(e.Callback, e.CallbackState); base.state.TransactionManagerSend.Replayed(coordinator); e.StateMachine.ChangeState(base.state.States.CoordinatorAwaitingEndOfRecovery); }
public void EnqueueRecoveryReplay(TmReplayEvent e) { if (!this.recovering) { Microsoft.Transactions.Bridge.DiagnosticUtility.FailFast("Cannot enqueue recovery event outside of recovery"); } if (DebugTrace.Info) { CoordinatorEnlistment coordinator = e.Coordinator; DebugTrace.TxTrace(TraceLevel.Info, coordinator.EnlistmentId, "Enqueuing recovery replay for coordinator at {0}", Ports.TryGetAddress(coordinator.CoordinatorProxy)); } this.recoveryQueue.Enqueue(e); }
public virtual void OnEvent(TmReplayEvent e) { this.InvalidTransactionManagerEvent(e); }
public override void OnEvent(TmReplayEvent e) { }
public void OnEvent(TmReplayEvent e) { this.TraceTmEvent(e); }