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