コード例 #1
0
ファイル: Pool.php プロジェクト: kakserpom/phpdaemon
 /**
  * @TODO DESCR
  */
 public function onReady()
 {
     parent::onReady();
     $this->client->onReady();
     $this->getConnection($this->config->url->value);
 }
コード例 #2
0
ファイル: Pool.php プロジェクト: shamahan/phpdaemon
 /**
  * Called when the worker is ready to go.
  * @return void
  */
 public function onReady()
 {
     parent::onReady();
     $this->WS = \PHPDaemon\Servers\WebSocket\Pool::getInstance($this->config->wssname->value, false);
 }