예제 #1
0
 public virtual void Cancel()
 {
     if (this.Executor == null || this.Executor.InLoop)
     {
         pipeline.Cancel();
     }
     else
     {
         this.Executor.Execute(c => { ((AbstractHandlerContext)c).SafeCancel(); }, this);
     }
 }
예제 #2
0
 public virtual void Cancel()
 {
     pipeline.Cancel();
 }