HttpRequestPool::socketPerform
ソケットアクションを実行する
&reftitle.description;
protected
boolHttpRequestPool::socketPerform
各リクエストがトランザクションを終了するまでの間、&true; を返します。
&reftitle.returnvalues;
各リクエストがトランザクションを終了するまでの間、&true; を返します。
&reftitle.examples;
HttpRequestPool::socketPerform の例
socketPerform()) {
if (!$this->socketSelect()) {
throw new HttpSocketExcpetion;
}
}
}
protected final function socketPerform()
{
$result = parent::socketPerform();
foreach ($this->getFinishedRequests() as $r) {
$this->detach($r);
// 終了したリクエストのレスポンスを処理します。
}
return $result;
}
}
?>
]]>