From 9bf951a60218db8f6d3b6a578a9dcb3ea0e6b765 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 31 Aug 2017 06:59:09 +0200 Subject: v2.0.9 --- REFLECTION | 446 ++++++++++++++++++++++++++++++++++++++++++++++---- php-pecl-swoole2.spec | 5 +- 2 files changed, 417 insertions(+), 34 deletions(-) diff --git a/REFLECTION b/REFLECTION index 18b2cf6..596f9b9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #137 swoole version 2.0.8 ] { +Extension [ extension #138 swoole version 2.0.9 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -63,7 +63,7 @@ Extension [ extension #137 swoole version 2.0.8 ] { Constant [ integer SWOOLE_DTLSv1_CLIENT_METHOD ] { 17 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 2.0.8 } + Constant [ string SWOOLE_VERSION ] { 2.0.9 } Constant [ integer SWOOLE_REDIS_MODE_MULTI ] { 0 } Constant [ integer SWOOLE_REDIS_MODE_PIPELINE ] { 1 } Constant [ integer SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } @@ -261,6 +261,11 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Parameters [0] { } } + Function [ function swoole_get_local_mac ] { + + - Parameters [0] { + } + } Function [ function swoole_strerror ] { - Parameters [1] { @@ -274,7 +279,7 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } - - Classes [34] { + - Classes [35] { Class [ class Swoole\Server ] { - Constants [0] { @@ -286,10 +291,39 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [29] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $setting ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] } - - Methods [39] { + - Methods [40] { Method [ public method __construct ] { - Parameters [4] { @@ -452,6 +486,14 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Method [ public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -938,7 +980,22 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [15] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onRequest ] + Property [ public $onHandShake ] + Property [ public $onMessage ] + Property [ public $onOpen ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $sock ] + Property [ public $setting ] } - Methods [5] { @@ -992,11 +1049,21 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [4] { + - Properties [14] { Property [ public $errCode ] Property [ public $sock ] Property [ public $reuse ] Property [ public $reuseCount ] + Property [ public $type ] + Property [ public $id ] + Property [ public $setting ] + Property [ public $onConnect ] + Property [ public $onError ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onSSLReady ] } - Methods [22] { @@ -1783,29 +1850,65 @@ Extension [ extension #137 swoole version 2.0.8 ] { Property [ public $errno ] } - - Methods [8] { + - Methods [9] { Method [ public method __construct ] { + + - Parameters [0] { + } } Method [ public method __destruct ] { + + - Parameters [0] { + } } Method [ public method connect ] { + + - Parameters [1] { + Parameter #0 [ array $server_config ] + } } Method [ public method query ] { + + - Parameters [2] { + Parameter #0 [ $sql ] + Parameter #1 [ $timeout ] + } } Method [ public method recv ] { + + - Parameters [0] { + } + } + + Method [ public method escape ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $flags ] + } } Method [ public method setDefer ] { + + - Parameters [1] { + Parameter #0 [ $defer ] + } } Method [ public method getDefer ] { + + - Parameters [0] { + } } Method [ public method close ] { + + - Parameters [0] { + } } } } @@ -1942,7 +2045,7 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static properties [0] { } - - Static methods [7] { + - Static methods [8] { Method [ static public method create ] { } @@ -1958,6 +2061,13 @@ Extension [ extension #137 swoole version 2.0.8 ] { Method [ static public method getuid ] { } + Method [ static public method sleep ] { + + - Parameters [1] { + Parameter #0 [ $seconds ] + } + } + Method [ static public method call_user_func ] { } @@ -1983,9 +2093,26 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [2] { + - Properties [19] { + Property [ public $type ] Property [ public $errCode ] Property [ public $sock ] + Property [ public $statusCode ] + Property [ public $host ] + Property [ public $port ] + Property [ public $requestMethod ] + Property [ public $requestHeaders ] + Property [ public $requestBody ] + Property [ public $uploadFiles ] + Property [ public $set_cookie_headers ] + Property [ public $downloadFile ] + Property [ public $headers ] + Property [ public $cookies ] + Property [ public $body ] + Property [ public $onConnect ] + Property [ public $onError ] + Property [ public $onMessage ] + Property [ public $onClose ] } - Methods [17] { @@ -2181,7 +2308,13 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } - - Properties [0] { + - Properties [6] { + Property [ public $pipe ] + Property [ public $callback ] + Property [ public $msgQueueId ] + Property [ public $msgQueueKey ] + Property [ public $pid ] + Property [ public $id ] } - Methods [14] { @@ -2284,7 +2417,7 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } - Class [ class Swoole\Table implements Iterator, Traversable, Countable ] { + Class [ class Swoole\Table implements ArrayAccess, Iterator, Traversable, Countable ] { - Constants [3] { Constant [ integer TYPE_INT ] { 1 } @@ -2301,11 +2434,12 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Properties [0] { } - - Methods [16] { + - Methods [21] { Method [ public method __construct ] { - - Parameters [1] { + - Parameters [2] { Parameter #0 [ $table_size ] + Parameter #1 [ $conflict_proportion ] } } @@ -2361,9 +2495,8 @@ Extension [ extension #137 swoole version 2.0.8 ] { Method [ public method exist ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ $key ] - Parameter #1 [ $field ] } } @@ -2385,6 +2518,41 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Method [ public method getMemorySize ] { + + - Parameters [0] { + } + } + + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + Method [ public method rewind ] { - Parameters [0] { @@ -2417,6 +2585,60 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Class [ class Swoole\Table\Row implements ArrayAccess ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [2] { + Property [ public $key ] + Property [ public $value ] + } + + - Methods [5] { + Method [ public method offsetExists ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetGet ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method offsetSet ] { + + - Parameters [2] { + Parameter #0 [ $offset ] + Parameter #1 [ $value ] + } + } + + Method [ public method offsetUnset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method __destruct ] { + + - Parameters [0] { + } + } + } + } + Class [ class Swoole\Lock ] { - Constants [5] { @@ -2574,11 +2796,41 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [1] { - Property [ private $global ] + - Properties [31] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + Property [ public $onRequest ] + Property [ public $onHandshake ] + Property [ public $setting ] } - - Methods [39] { + - Methods [40] { Method [ public method on ] { - Parameters [2] { @@ -2741,6 +2993,14 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Method [ public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -2892,7 +3152,11 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [4] { + Property [ public $fd ] + Property [ public $header ] + Property [ public $cookie ] + Property [ public $trailer ] } - Methods [11] { @@ -3002,7 +3266,16 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [9] { + Property [ public $fd ] + Property [ public $header ] + Property [ public $server ] + Property [ public $request ] + Property [ public $cookie ] + Property [ public $get ] + Property [ public $files ] + Property [ public $post ] + Property [ public $tmpfiles ] } - Methods [2] { @@ -3134,10 +3407,41 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } - - Properties [0] { - } - - - Methods [40] { + - Properties [31] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + Property [ public $onRequest ] + Property [ public $onHandshake ] + Property [ public $setting ] + } + + - Methods [41] { Method [ public method on ] { - Parameters [2] { @@ -3310,6 +3614,14 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Method [ public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { @@ -3485,11 +3797,18 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [4] { + - Properties [11] { + Property [ public $serverInfo ] + Property [ public $sock ] + Property [ public $connected ] Property [ public $errno ] Property [ public $connect_errno ] + Property [ public $error ] + Property [ public $connect_error ] Property [ public $insert_id ] Property [ public $affected_rows ] + Property [ public $onConnect ] + Property [ public $onClose ] } - Methods [11] { @@ -3719,11 +4038,23 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [4] { + - Properties [16] { Property [ public $errCode ] Property [ public $sock ] Property [ public $reuse ] Property [ public $reuseCount ] + Property [ public $type ] + Property [ public $id ] + Property [ public $setting ] + Property [ public $onConnect ] + Property [ public $onError ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onSSLReady ] + Property [ public $requestHeaders ] + Property [ public $cookies ] } - Methods [33] { @@ -3919,7 +4250,10 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [3] { + Property [ public $statusCode ] + Property [ public $body ] + Property [ public $streamId ] } - Methods [0] { @@ -3975,7 +4309,16 @@ Extension [ extension #137 swoole version 2.0.8 ] { - Static methods [0] { } - - Properties [0] { + - Properties [9] { + Property [ public $onConnect ] + Property [ public $onClose ] + Property [ public $onMessage ] + Property [ public $setting ] + Property [ public $host ] + Property [ public $port ] + Property [ public $sock ] + Property [ public $errCode ] + Property [ public $errMsg ] } - Methods [7] { @@ -4056,10 +4399,39 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } - - Properties [0] { - } - - - Methods [40] { + - Properties [29] { + Property [ public $onConnect ] + Property [ public $onReceive ] + Property [ public $onClose ] + Property [ public $onPacket ] + Property [ public $onBufferFull ] + Property [ public $onBufferEmpty ] + Property [ public $onStart ] + Property [ public $onShutdown ] + Property [ public $onWorkerStart ] + Property [ public $onWorkerStop ] + Property [ public $onWorkerExit ] + Property [ public $onWorkerError ] + Property [ public $onTask ] + Property [ public $onFinish ] + Property [ public $onManagerStart ] + Property [ public $onManagerStop ] + Property [ public $onPipeMessage ] + Property [ public $setting ] + Property [ public $connections ] + Property [ public $host ] + Property [ public $port ] + Property [ public $type ] + Property [ public $mode ] + Property [ public $ports ] + Property [ public $master_pid ] + Property [ public $manager_pid ] + Property [ public $worker_id ] + Property [ public $taskworker ] + Property [ public $worker_pid ] + } + + - Methods [41] { Method [ public method start ] { - Parameters [0] { @@ -4232,6 +4604,14 @@ Extension [ extension #137 swoole version 2.0.8 ] { } } + Method [ public method taskCo ] { + + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ $timeout ] + } + } + Method [ public method finish ] { - Parameters [1] { diff --git a/php-pecl-swoole2.spec b/php-pecl-swoole2.spec index 472e1b7..fa2b6c9 100644 --- a/php-pecl-swoole2.spec +++ b/php-pecl-swoole2.spec @@ -30,7 +30,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?sub_prefix}php-pecl-%{pecl_name}2 -Version: 2.0.8 +Version: 2.0.9 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -308,6 +308,9 @@ cd ../ZTS %changelog +* Thu Aug 31 2017 Remi Collet - 2.0.9-1 +- Update to 2.0.9 + * Fri Aug 4 2017 Remi Collet - 2.0.8-1 - Update to 2.0.8 (beta) - add devel sub-package -- cgit