PHPDaemon/Core/ShellCommand.php 2 locations
|
@@ 206-209 (lines=4) @@
|
| 203 |
|
if ($this->timeout !== null) { |
| 204 |
|
$this->setTimeout($this->timeout); |
| 205 |
|
} |
| 206 |
|
if (!$this->bev->enable(\Event::READ | \Event::TIMEOUT | \Event::PERSIST)) { |
| 207 |
|
$this->finish(); |
| 208 |
|
return; |
| 209 |
|
} |
| 210 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 211 |
|
$this->finish(); |
| 212 |
|
return; |
|
@@ 210-213 (lines=4) @@
|
| 207 |
|
$this->finish(); |
| 208 |
|
return; |
| 209 |
|
} |
| 210 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 211 |
|
$this->finish(); |
| 212 |
|
return; |
| 213 |
|
} |
| 214 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 215 |
|
|
| 216 |
|
init: |
PHPDaemon/Network/IOStream.php 1 location
|
@@ 323-326 (lines=4) @@
|
| 320 |
|
$this->finish(); |
| 321 |
|
return; |
| 322 |
|
} |
| 323 |
|
if (!$this->bev->enable(\Event::READ | \Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 324 |
|
$this->finish(); |
| 325 |
|
return; |
| 326 |
|
} |
| 327 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 328 |
|
init: |
| 329 |
|
if ($this->keepalive) { |