PHPDaemon/Core/ShellCommand.php 2 locations
|
@@ 198-201 (lines=4) @@
|
| 195 |
|
if ($this->timeout !== null) { |
| 196 |
|
$this->setTimeout($this->timeout); |
| 197 |
|
} |
| 198 |
|
if (!$this->bev->enable(\Event::READ | \Event::TIMEOUT | \Event::PERSIST)) { |
| 199 |
|
$this->finish(); |
| 200 |
|
return; |
| 201 |
|
} |
| 202 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 203 |
|
$this->finish(); |
| 204 |
|
return; |
|
@@ 202-205 (lines=4) @@
|
| 199 |
|
$this->finish(); |
| 200 |
|
return; |
| 201 |
|
} |
| 202 |
|
if (!$this->bevWrite->enable(\Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 203 |
|
$this->finish(); |
| 204 |
|
return; |
| 205 |
|
} |
| 206 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 207 |
|
|
| 208 |
|
init: |
PHPDaemon/Network/IOStream.php 1 location
|
@@ 319-322 (lines=4) @@
|
| 316 |
|
$this->finish(); |
| 317 |
|
return; |
| 318 |
|
} |
| 319 |
|
if (!$this->bev->enable(\Event::READ | \Event::WRITE | \Event::TIMEOUT | \Event::PERSIST)) { |
| 320 |
|
$this->finish(); |
| 321 |
|
return; |
| 322 |
|
} |
| 323 |
|
$this->bev->setWatermark(\Event::READ, $this->lowMark, $this->highMark); |
| 324 |
|
init: |
| 325 |
|
if ($this->keepalive) { |