eee
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
namespace Kiri\Server\Contract;
|
||||
|
||||
|
||||
use Swoole\Server;
|
||||
|
||||
/**
|
||||
* Interface OnPipeMessageInterface
|
||||
* @package Server\Contract
|
||||
@@ -12,9 +14,12 @@ interface OnPipeMessageInterface
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
* @param Server $server
|
||||
* @param int $src_worker_id
|
||||
* @param mixed $message
|
||||
* @return void
|
||||
*/
|
||||
public function process(): void;
|
||||
public function onPipeMessage(Server $server, int $src_worker_id, mixed $message): void;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user