package org.chenyang.http.impl.conn.tsccm;

/** @deprecated */
@Deprecated
public class WaitingThreadAborter {
   private WaitingThread waitingThread;
   private boolean aborted;

   public void abort() {
      this.aborted = true;
      if (this.waitingThread != null) {
         this.waitingThread.interrupt();
      }

   }

   public void setWaitingThread(WaitingThread waitingThread) {
      this.waitingThread = waitingThread;
      if (this.aborted) {
         waitingThread.interrupt();
      }

   }
}
