eee
This commit is contained in:
@@ -7,7 +7,6 @@ namespace Kiri\Server\Handler;
|
||||
use Exception;
|
||||
use Kiri;
|
||||
use Kiri\Core\Xml;
|
||||
use Kiri\Core\Json;
|
||||
use Kiri\Di\Inject\Container;
|
||||
use Kiri\Di\Context;
|
||||
use Kiri\Di\Interface\ResponseEmitterInterface;
|
||||
|
||||
@@ -33,8 +33,6 @@ class OnServer extends Server
|
||||
/**
|
||||
* @param SServer $server
|
||||
* @throws ReflectionException
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function onStart(SServer $server): void
|
||||
{
|
||||
@@ -48,8 +46,6 @@ class OnServer extends Server
|
||||
|
||||
/**
|
||||
* @param SServer $server
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function onBeforeShutdown(SServer $server): void
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
namespace Kiri\Server\Handler;
|
||||
|
||||
use Kiri;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use ReflectionException;
|
||||
use Kiri\Server\Abstracts\Server;
|
||||
use Kiri\Server\Events\OnManagerStart;
|
||||
@@ -21,8 +19,7 @@ class OnServerManager extends Server
|
||||
|
||||
/**
|
||||
* @param \Swoole\Server $server
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface|ReflectionException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function onManagerStart(\Swoole\Server $server): void
|
||||
{
|
||||
@@ -35,8 +32,7 @@ class OnServerManager extends Server
|
||||
/**
|
||||
* @param \Swoole\Server $server
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface|ReflectionException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function onManagerStop(\Swoole\Server $server): void
|
||||
{
|
||||
|
||||
@@ -32,8 +32,6 @@ class OnServerWorker extends \Kiri\Server\Abstracts\Server
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
* @throws Exception
|
||||
*/
|
||||
public function onWorkerStart(Server $server, int $workerId): void
|
||||
@@ -71,8 +69,7 @@ class OnServerWorker extends \Kiri\Server\Abstracts\Server
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface|ReflectionException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function onWorkerStop(Server $server, int $workerId): void
|
||||
{
|
||||
@@ -84,8 +81,7 @@ class OnServerWorker extends \Kiri\Server\Abstracts\Server
|
||||
/**
|
||||
* @param Server $server
|
||||
* @param int $workerId
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface|ReflectionException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function onWorkerExit(Server $server, int $workerId): void
|
||||
{
|
||||
@@ -99,8 +95,6 @@ class OnServerWorker extends \Kiri\Server\Abstracts\Server
|
||||
* @param int $worker_pid
|
||||
* @param int $exit_code
|
||||
* @param int $signal
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
* @throws Exception
|
||||
*/
|
||||
public function onWorkerError(Server $server, int $worker_id, int $worker_pid, int $exit_code, int $signal): void
|
||||
|
||||
Reference in New Issue
Block a user