rem: }; 
add: } 
context: qx.Proto._modifyState = function(propValue, propOldValue, propData){  var vRequest = this.getRequest();  if (qx.core.Settings.enableTransportDebug) {    this.debug("State: " + propOldValue + " => " + propValue);  };  switch(propValue)  {    case qx.constant.Net.STATE_SENDING:      this.createDispatchEvent(qx.constant.Event.SENDING);      break;    case qx.constant.Net.STATE_RECEIVING:      this.createDispatchEvent(qx.constant.Event.RECEIVING);      break;    case qx.constant.Net.STATE_COMPLETED:    case qx.constant.Net.STATE_ABORTED:    case qx.constant.Net.STATE_TIMEOUT:    case qx.constant.Net.STATE_FAILED:      var vImpl = this.getImplementation();      if (! vImpl) {        // implementation has already been disposed        break;      }      var vResponse = new qx.io.remote.RemoteResponse;      if (propValue == qx.constant.Net.STATE_COMPLETED) {        var vContent = vImpl.getResponseContent();        vResponse.setContent(vContent);        /*         * Was there acceptable content?  This might occur, for example, if         * the web server was shut down unexpectedly and thus the connection         * closed with no data having been sent.         */        if (vContent === null) {          // Nope.  Change COMPLETED to FAILED.          if (qx.core.Settings.enableTransportDebug) {            this.debug("Altered State: " + propValue + " => failed");          };          propValue = qx.constant.Net.STATE_FAILED;        }      }      vResponse.setStatusCode(vImpl.getStatusCode());      vResponse.setResponseHeaders(vImpl.getResponseHeaders());      // this.debug("Result Text: " + vResponse.getTextContent());      var vEventType;      switch(propValue)      {        case qx.constant.Net.STATE_COMPLETED:          vEventType = qx.constant.Event.COMPLETED;          break;        case qx.constant.Net.STATE_ABORTED:          vEventType = qx.constant.Event.ABORTED;          break;        case qx.constant.Net.STATE_TIMEOUT:          vEventType = qx.constant.Event.TIMEOUT;          break;        case qx.constant.Net.STATE_FAILED:          vEventType = qx.constant.Event.FAILED;          break;      };      // Disconnect and dispose implementation      this.setImplementation(null);      vImpl.dispose();      // Fire event to listeners      this.createDispatchDataEvent(vEventType, vResponse);      break;  };  return true;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/RemoteExchange.js/clean/qooxdoo/source/script/qx/io/remote/RemoteExchange.js