code: public function clientRecvObject($recv)
      {
          $data = $this->serializer->unserialize($recv);
  
          $type = $data[0];
          $code = $data[1];
          $errs = $data[2];
          $sets = $data[3];
  
          if ($type != 1) {
              throw new ProtocolErrorException("Invalid message type for response: {$type}");
          }
  
          $feature = new Future();
          $feature->setErrors($errs);
          $feature->setResult($sets);
  
          return $feature;
      }
docs: @param $recv
  
  @return Future
  @throws Exception\ProtocolErrorException