示例#1
0
文件: SOA.php 项目: shakeng/framework
 function getResult($timeout = 0.5)
 {
     if ($this->code == self::ERR_NO_READY) {
         $this->soa_client->wait($timeout);
     }
     return $this->data;
 }
示例#2
0
 function getResult($timeout = 0.5)
 {
     if ($this->code == self::ERR_NO_READY) {
         $soaclient = SOA::getInstance();
         $soaclient->wait($timeout);
     }
     return $this->data;
 }