master_pid)); $this->dispatch->dispatch(new OnStart($server)); } /** * @param SServer $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function onBeforeShutdown(SServer $server) { $this->dispatch->dispatch(new OnBeforeShutdown($server)); } /** * @param SServer $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function onShutdown(SServer $server) { $this->dispatch->dispatch(new OnShutdown($server)); } /** * @param SServer $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function onBeforeReload(SServer $server) { $this->dispatch->dispatch(new OnBeforeReload($server)); } /** * @param SServer $server * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function onAfterReload(SServer $server) { $this->dispatch->dispatch(new OnAfterReload($server)); } }