Lines Matching refs:resp
412 $resp = $this->decodePacketHeader($packet);
413 $resp['content'] = '';
414 if ($resp['contentLength']) {
415 $len = $resp['contentLength'];
418 $resp['content'] .= $buf;
421 if ($resp['paddingLength']) {
422 $buf = fread($this->_sock, $resp['paddingLength']);
424 return $resp;
447 $resp = $this->readPacket();
448 if ($resp['type'] == self::GET_VALUES_RESULT) {
449 return $this->readNvpair($resp['content'], $resp['length']);
593 $resp = $this->readPacket();
595 if ($resp['type'] == self::STDOUT || $resp['type'] == self::STDERR) {
596 if ($resp['type'] == self::STDERR) {
597 $this->_requests[$resp['requestId']]['state'] = self::REQ_STATE_ERR;
598 $this->_requests[$resp['requestId']]['err_response'] .= $resp['content'];
600 $this->_requests[$resp['requestId']]['out_response'] .= $resp['content'];
602 $this->_requests[$resp['requestId']]['response'] .= $resp['content'];
604 if ($resp['type'] == self::END_REQUEST) {
605 $this->_requests[$resp['requestId']]['state'] = self::REQ_STATE_OK;
606 if ($resp['requestId'] == $requestId) {
615 } while ($resp);
617 if (!is_array($resp)) {
639 switch (ord($resp['content']{4})) {