protected virtual void Fail(Exception e) { if (Settings.IsDebugLogging) { Log.Debug("Failed due to: {0}", e.Message); } PrimaryInputs.Cancel(); PrimaryOutputs.Error(e); Context.Stop(Self); }
/// <summary> /// TBD /// </summary> /// <param name="e">TBD</param> protected override void Fail(Exception e) { if (Settings.IsDebugLogging) { Log.Debug("Failed due to: {0}", e.Message); } PrimaryInputs.Cancel(); PrimaryOutputs.Error(e); // Stopping will happen after flush }
protected override void PostStop() { PrimaryInputs.Cancel(); PrimaryOutputs.Error(new AbruptTerminationException(Self)); }
public virtual void PumpFinished() { PrimaryInputs.Cancel(); PrimaryOutputs.Complete(); Context.Stop(Self); }
/// <summary> /// TBD /// </summary> public override void PumpFinished() { PrimaryInputs.Cancel(); PrimaryOutputs.Complete(); }