function getResult($timeout = 0.5) { if ($this->code == self::ERR_NO_READY) { $this->soa_client->wait($timeout); } return $this->data; }