Changeset View
Changeset View
Standalone View
Standalone View
src/daemon/PhutilDaemonHandle.php
| <?php | <?php | ||||
| final class PhutilDaemonHandle { | final class PhutilDaemonHandle extends Phobject { | ||||
| const EVENT_DID_LAUNCH = 'daemon.didLaunch'; | const EVENT_DID_LAUNCH = 'daemon.didLaunch'; | ||||
| const EVENT_DID_LOG = 'daemon.didLogMessage'; | const EVENT_DID_LOG = 'daemon.didLogMessage'; | ||||
| const EVENT_DID_HEARTBEAT = 'daemon.didHeartbeat'; | const EVENT_DID_HEARTBEAT = 'daemon.didHeartbeat'; | ||||
| const EVENT_WILL_GRACEFUL = 'daemon.willGraceful'; | const EVENT_WILL_GRACEFUL = 'daemon.willGraceful'; | ||||
| const EVENT_WILL_EXIT = 'daemon.willExit'; | const EVENT_WILL_EXIT = 'daemon.willExit'; | ||||
| private $overseer; | private $overseer; | ||||
| private $daemonClass; | private $daemonClass; | ||||
| private $argv; | private $argv; | ||||
| private $config; | |||||
| private $pid; | private $pid; | ||||
| private $daemonID; | private $daemonID; | ||||
| private $deadline; | private $deadline; | ||||
| private $heartbeat; | private $heartbeat; | ||||
| private $stdoutBuffer; | private $stdoutBuffer; | ||||
| private $restartAt; | private $restartAt; | ||||
| private $silent; | private $silent; | ||||
| private $shouldRestart = true; | private $shouldRestart = true; | ||||
| ▲ Show 20 Lines • Show All 411 Lines • Show Last 20 Lines | |||||