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