rem: if (QxSettings.enableTransportDebug) { this.debug("queued:" + this._queue.length + " | active:" + this._active.length + " | total:" + (this._queue.length+this._active.length)); }; 
add: this._debug(); 
context: proto._check = function(){  // Debug output  if (QxSettings.enableTransportDebug) {    this.debug("queued:" + this._queue.length + " | active:" + this._active.length + " | total:" + (this._queue.length+this._active.length));  };  // Check queues and stop timer if not needed anymore  if (this._active.length == 0 && this._queue.length == 0) {    this._timer.stop();  };  // Checking if enabled  if (!this.getEnabled()) {    return;  };  // Checking active queue fill  if (this._active.length >= this.getMaxConcurrentRequests() || this._queue.length == 0) {    return;  };  // Checking number of total requests  if (this.getMaxTotalRequests() != null && this._totalRequests >= this.getMaxTotalRequests()) {    return;  };  // TODO: How to support concurrent requests?  var vRequest = this._queue.shift();  var vTransport = new QxTransport(vRequest);  // Increment counter  this._totalRequests++;  // Add to active queue  this._active.push(vTransport);  // Establish event connection between QxTransport instance and QxRequest  vTransport.addEventListener(QxConst.EVENT_TYPE_SENDING, vRequest._onsending, vRequest);  vTransport.addEventListener(QxConst.EVENT_TYPE_RECEIVING, vRequest._onreceiving, vRequest);  vTransport.addEventListener(QxConst.EVENT_TYPE_COMPLETED, vRequest._oncompleted, vRequest);  vTransport.addEventListener(QxConst.EVENT_TYPE_ABORTED, vRequest._onaborted, vRequest);  vTransport.addEventListener(QxConst.EVENT_TYPE_TIMEOUT, vRequest._ontimeout, vRequest);  vTransport.addEventListener(QxConst.EVENT_TYPE_FAILED, vRequest._onfailed, vRequest);  // Establish event connection between QxTransport and me.  vTransport.addEventListener(QxConst.EVENT_TYPE_SENDING, this._onsending, this);  vTransport.addEventListener(QxConst.EVENT_TYPE_COMPLETED, this._oncompleted, this);  vTransport.addEventListener(QxConst.EVENT_TYPE_ABORTED, this._onaborted, this);  vTransport.addEventListener(QxConst.EVENT_TYPE_TIMEOUT, this._ontimeout, this);  vTransport.addEventListener(QxConst.EVENT_TYPE_FAILED, this._onfailed, this);  // Send  vTransport.send();  // Retry  if (this._queue.length > 0) {    this._check();  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/cf06f3be28c7560ed58e9eea7750bcaa9d61f60a/QxRequestQueue.js/clean/qooxdoo/source/script/transport/QxRequestQueue.js