예제 #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
파일: SOA.php 프로젝트: xiangdong1987/Slob
 function getResult($timeout = 0.5)
 {
     if ($this->code == self::ERR_NO_READY) {
         $soaclient = SOA::getInstance();
         $soaclient->wait($timeout);
     }
     return $this->data;
 }