public synchronized boolean cancel() throws Throwable
public synchronized void cancel() throws Throwable
   public synchronized boolean cancel() throws Throwable   {      // deals with the race condition when cancellation arrives before the delivery      // is returned back to the sending delivery observer      cancelled = true;      return observer.cancel(this);   }