public void OnEnlistPrePrepare(TmEnlistPrePrepareEvent e) { this.enlistPrePrepareEvent = e; if (this.volatileCoordinators == null) { this.volatileCoordinators = new List<VolatileCoordinatorEnlistment>(); } VolatileCoordinatorEnlistment item = new VolatileCoordinatorEnlistment(base.state, this); this.volatileCoordinators.Add(item); base.state.Lookup.AddEnlistment(item); if (this.registerVolatileCoordinator != null) { Microsoft.Transactions.Bridge.DiagnosticUtility.FailFast("Duplicate EnlistPrePrepare from TM"); } this.registerVolatileCoordinator = item; }
public void OnEnlistPrePrepare(TmEnlistPrePrepareEvent e) { this.enlistPrePrepareEvent = e; if (this.volatileCoordinators == null) { this.volatileCoordinators = new List <VolatileCoordinatorEnlistment>(); } VolatileCoordinatorEnlistment item = new VolatileCoordinatorEnlistment(base.state, this); this.volatileCoordinators.Add(item); base.state.Lookup.AddEnlistment(item); if (this.registerVolatileCoordinator != null) { Microsoft.Transactions.Bridge.DiagnosticUtility.FailFast("Duplicate EnlistPrePrepare from TM"); } this.registerVolatileCoordinator = item; }
public virtual void OnEvent(TmEnlistPrePrepareEvent e) { this.InvalidTransactionManagerEvent(e); }
protected void EnlistPrePrepare(TmEnlistPrePrepareEvent e) { CoordinatorEnlistment coordinator = e.Coordinator; coordinator.OnEnlistPrePrepare(e); this.state.RegistrationParticipant.SendVolatileRegister(coordinator.RegisterVolatileCoordinator); }
public override void OnEvent(TmEnlistPrePrepareEvent e) { CoordinatorEnlistment coordinator = e.Coordinator; coordinator.SetCallback(e.Callback, e.CallbackState); base.state.TransactionManagerSend.EnlistPrePrepareResponse(coordinator, Status.Aborted); }
public override void OnEvent(TmEnlistPrePrepareEvent e) { base.EnlistPrePrepare(e); e.StateMachine.ChangeState(base.state.States.CoordinatorVolatilePreparingRegistering); }
public void OnEvent(TmEnlistPrePrepareEvent e) { this.TraceGenericEvent(e); }