protected void notifyComplete(){
  final String methodName="notifyComplete";
  log.fine(CLASS_NAME,methodName,"404",new Object[]{getKey(),this.response,this.exception});
synchronized (responseLock) {
    if (exception == null && pendingComplete) {
      completed=true;
      pendingComplete=false;
    }
 else {
      pendingComplete=false;
    }
    responseLock.notifyAll();
  }
synchronized (sentLock) {
    sent=true;
    sentLock.notifyAll();
  }
}

protected void notifyComplete ( ) { final String methodName = "notifyComplete" ; log . fine ( CLASS_NAME , methodName , "404" , new Object [ ] { getKey ( ) , this . response , this . exception } ) ; synchronized ( responseLock ) { if ( exception == null && pendingComplete ) { completed = true ; pendingComplete = false ; } else { pendingComplete = false ; } responseLock . notifyAll ( ) ; } synchronized ( sentLock ) { sent = true ; sentLock . notifyAll ( ) ; } }
notifies this token that a response message ( an ack or nack ) has been received .
