public function init()
{
$this->socketurl = sprintf($this->config->mastersocket->value, crc32(Daemon::$config->pidfile->value . "" . Daemon::$config->user->value . "" . Daemon::$config->group->value));
if (Daemon::$process instanceof Thread\IPC) {
$this->pool = MasterPool::getInstance(['listen' => $this->socketurl]);
$this->pool->appInstance = $this;
$this->pool->onReady();
}
}