12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace Swoole\Process;
- class Pool
- {
- public $master_pid = -1;
- public $workers;
- public function __construct($worker_num, $ipc_type = null, $msgqueue_key = null, $enable_coroutine = null)
- {
- }
- public function __destruct()
- {
- }
- /**
- * @return mixed
- */
- public function set(array $settings)
- {
- }
- /**
- * @return mixed
- */
- public function on($event_name, callable $callback)
- {
- }
- /**
- * @return mixed
- */
- public function getProcess($worker_id = null)
- {
- }
- /**
- * @return mixed
- */
- public function listen($host, $port = null, $backlog = null)
- {
- }
- /**
- * @return mixed
- */
- public function write($data)
- {
- }
- /**
- * @return mixed
- */
- public function start()
- {
- }
- /**
- * @return mixed
- */
- public function shutdown()
- {
- }
- }
|