Пример #1
0
 public function init()
 {
     parent::init();
     $this->pidfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.pid";
     $this->logfile = Angel::app()->runtimePath . DIRECTORY_SEPARATOR . "socket_server.log";
 }
Пример #2
0
 public function init()
 {
     parent::init();
     $this->start();
     register_shutdown_function([$this, 'close']);
 }
Пример #3
0
 public function init()
 {
     parent::init();
 }
Пример #4
0
 public function init()
 {
     parent::init();
     $this->filterRequest();
 }