Example #1
0
        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);
        }
Example #2
0
        /// <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
        }
Example #3
0
 protected override void PostStop()
 {
     PrimaryInputs.Cancel();
     PrimaryOutputs.Error(new AbruptTerminationException(Self));
 }
Example #4
0
 public virtual void PumpFinished()
 {
     PrimaryInputs.Cancel();
     PrimaryOutputs.Complete();
     Context.Stop(Self);
 }
Example #5
0
 /// <summary>
 /// TBD
 /// </summary>
 public override void PumpFinished()
 {
     PrimaryInputs.Cancel();
     PrimaryOutputs.Complete();
 }