HttpRequestPool::socketPerform
    (no version information, might be only in CVS)
HttpRequestPool::socketPerform -- ソケットアクションを実行する
説明
protectedbool 
HttpRequestPool::socketPerform ( void  )
   各リクエストがトランザクションを終了するまでの間、TRUE を返します。
  
返り値
   各リクエストがトランザクションを終了するまでの間、TRUE を返します。
  
例
   
例 1. HttpRequestPool::socketPerform() の例 
<?php class MyPool extends HttpRequestPool {     public function send()     {         while ($this->socketPerform()) {             if (!$this->socketSelect()) {                 throw new HttpSocketExcpetion;             }         }     }
      protected final function socketPerform()     {         $result = parent::socketPerform();         foreach ($this->getFinishedRequests() as $r) {             $this->detach($r);             // 終了したリクエストのレスポンスを処理します。         }         return $result;     } } ?>
 |  
  |