public function onRead()
{
if (false === ($pct = $this->readExact($this->lowMark))) {
return;
// not readed yet
}
if ($pct === "<policy-file-request/>") {
if ($this->pool->policyData) {
$this->write($p = $this->pool->policyData . "");
} else {
$this->write("<error/>");
}
}
$this->finish();
}