From 1324c41d95e3e955b3c1fba163290077b28b4112 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 15 Feb 2015 08:01:13 +0100 Subject: php-pecl-swoole: 1.7.10 --- REFLECTION | 322 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 269 insertions(+), 53 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 4f50ff6..6f4b313 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #146 swoole version 1.7.9 ] { +Extension [ extension #147 swoole version 1.7.10 ] { - INI { Entry [ swoole.aio_thread_num ] @@ -15,10 +15,11 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } - - Constants [41] { + - Constants [42] { Constant [ integer SWOOLE_BASE ] { 4 } Constant [ integer SWOOLE_THREAD ] { 2 } Constant [ integer SWOOLE_PROCESS ] { 3 } + Constant [ integer SWOOLE_PACKET ] { 16 } Constant [ integer SWOOLE_IPC_UNSOCK ] { 1 } Constant [ integer SWOOLE_IPC_MSGQUEUE ] { 2 } Constant [ integer SWOOLE_IPC_CHANNEL ] { 3 } @@ -47,16 +48,16 @@ Extension [ extension #146 swoole version 1.7.9 ] { Constant [ integer SWOOLE_SSL ] { 512 } Constant [ integer SWOOLE_EVENT_READ ] { 512 } Constant [ integer SWOOLE_EVENT_WRITE ] { 1024 } - Constant [ string SWOOLE_VERSION ] { 1.7.9 } + Constant [ string SWOOLE_VERSION ] { 1.7.10 } Constant [ integer SWOOLE_AIO_BASE ] { 0 } Constant [ integer SWOOLE_AIO_GCC ] { 1 } Constant [ integer SWOOLE_AIO_LINUX ] { 2 } + Constant [ integer HTTP_GLOBAL_GET ] { 2 } + Constant [ integer HTTP_GLOBAL_POST ] { 4 } + Constant [ integer HTTP_GLOBAL_COOKIE ] { 8 } + Constant [ integer HTTP_GLOBAL_ALL ] { 62 } Constant [ integer WEBSOCKET_OPCODE_TEXT ] { 1 } Constant [ integer WEBSOCKET_OPCODE_BINARY ] { 2 } - Constant [ integer HTTP_GLOBAL_GET ] { 1 } - Constant [ integer HTTP_GLOBAL_POST ] { 2 } - Constant [ integer HTTP_GLOBAL_COOKIE ] { 4 } - Constant [ integer HTTP_GLOBAL_ALL ] { 31 } } - Functions { @@ -95,6 +96,15 @@ Extension [ extension #146 swoole version 1.7.9 ] { Parameter #3 [ $from_id ] } } + Function [ function swoole_server_sendto ] { + + - Parameters [4] { + Parameter #0 [ swoole_server $zobject ] + Parameter #1 [ $ip ] + Parameter #2 [ $port ] + Parameter #3 [ $send_data ] + } + } Function [ function swoole_server_sendfile ] { - Parameters [3] { @@ -142,13 +152,6 @@ Extension [ extension #146 swoole version 1.7.9 ] { Parameter #1 [ $interval ] } } - Function [ function swoole_server_deltimer ] { - - - Parameters [2] { - Parameter #0 [ swoole_server $zobject ] - Parameter #1 [ $interval ] - } - } Function [ function swoole_server_gettimer ] { } Function [ function swoole_server_task ] { @@ -257,6 +260,8 @@ Extension [ extension #146 swoole version 1.7.9 ] { } Function [ function swoole_timer_after ] { } + Function [ function swoole_timer_clear ] { + } Function [ function swoole_async_set ] { } Function [ function swoole_async_read ] { @@ -298,7 +303,7 @@ Extension [ extension #146 swoole version 1.7.9 ] { - Properties [0] { } - - Methods [26] { + - Methods [28] { Method [ public method __construct ] { - Parameters [4] { @@ -331,6 +336,15 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } + Method [ public method sendto ] { + + - Parameters [3] { + Parameter #0 [ $ip ] + Parameter #1 [ $port ] + Parameter #2 [ $send_data ] + } + } + Method [ public method sendfile ] { - Parameters [2] { @@ -379,23 +393,6 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } - Method [ public method addtimer ] { - - - Parameters [1] { - Parameter #0 [ $interval ] - } - } - - Method [ public method deltimer ] { - - - Parameters [1] { - Parameter #0 [ $interval ] - } - } - - Method [ public method gettimer ] { - } - Method [ public method reload ] { - Parameters [0] { @@ -454,9 +451,29 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } + Method [ public method addtimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method deltimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method gettimer ] { + } + Method [ public method after ] { } + Method [ public method clearAfter ] { + } + Method [ public method sendmessage ] { } @@ -788,7 +805,7 @@ Extension [ extension #146 swoole version 1.7.9 ] { Property [ private $global ] } - - Methods [27] { + - Methods [29] { Method [ public method on ] { - Parameters [2] { @@ -829,6 +846,15 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } + Method [ public method sendto ] { + + - Parameters [3] { + Parameter #0 [ $ip ] + Parameter #1 [ $port ] + Parameter #2 [ $send_data ] + } + } + Method [ public method sendfile ] { - Parameters [2] { @@ -877,23 +903,6 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } - Method [ public method addtimer ] { - - - Parameters [1] { - Parameter #0 [ $interval ] - } - } - - Method [ public method deltimer ] { - - - Parameters [1] { - Parameter #0 [ $interval ] - } - } - - Method [ public method gettimer ] { - } - Method [ public method reload ] { - Parameters [0] { @@ -944,9 +953,29 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } + Method [ public method addtimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method deltimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method gettimer ] { + } + Method [ public method after ] { } + Method [ public method clearAfter ] { + } + Method [ public method sendmessage ] { } @@ -1018,7 +1047,7 @@ Extension [ extension #146 swoole version 1.7.9 ] { } } - Class [ class swoole_http_wsresponse ] { + Class [ class swoole_websocket_server extends swoole_http_server ] { - Constants [0] { } @@ -1032,8 +1061,195 @@ Extension [ extension #146 swoole version 1.7.9 ] { - Properties [0] { } - - Methods [1] { - Method [ public method message ] { + - Methods [30] { + Method [ public method on ] { + + - Parameters [2] { + Parameter #0 [ $ha_name ] + Parameter #1 [ $cb ] + } + } + + Method [ public method push ] { + } + + Method [ public method setGlobal ] { + } + + Method [ public method start ] { + } + + Method [ public method __construct ] { + + - Parameters [4] { + Parameter #0 [ $serv_host ] + Parameter #1 [ $serv_port ] + Parameter #2 [ $serv_mode ] + Parameter #3 [ $sock_type ] + } + } + + Method [ public method set ] { + + - Parameters [1] { + Parameter #0 [ $zset ] + } + } + + Method [ public method send ] { + + - Parameters [3] { + Parameter #0 [ $conn_fd ] + Parameter #1 [ $send_data ] + Parameter #2 [ $from_id ] + } + } + + Method [ public method sendto ] { + + - Parameters [3] { + Parameter #0 [ $ip ] + Parameter #1 [ $port ] + Parameter #2 [ $send_data ] + } + } + + Method [ public method sendfile ] { + + - Parameters [2] { + Parameter #0 [ $conn_fd ] + Parameter #1 [ $filename ] + } + } + + Method [ public method close ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } + + Method [ public method task ] { + + - Parameters [2] { + Parameter #0 [ $data ] + Parameter #1 [ $worker_id ] + } + } + + Method [ public method taskwait ] { + + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $timeout ] + Parameter #2 [ $worker_id ] + } + } + + Method [ public method finish ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method addlistener ] { + + - Parameters [3] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $sock_type ] + } + } + + Method [ public method reload ] { + + - Parameters [0] { + } + } + + Method [ public method shutdown ] { + + - Parameters [0] { + } + } + + Method [ public method hbcheck ] { + + - Parameters [1] { + Parameter #0 [ $from_id ] + } + } + + Method [ public method heartbeat ] { + + - Parameters [1] { + Parameter #0 [ $from_id ] + } + } + + Method [ public method handler ] { + + - Parameters [2] { + Parameter #0 [ $ha_name ] + Parameter #1 [ $cb ] + } + } + + Method [ public method connection_info ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $from_id ] + } + } + + Method [ public method connection_list ] { + + - Parameters [2] { + Parameter #0 [ $start_fd ] + Parameter #1 [ $find_count ] + } + } + + Method [ public method addtimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method deltimer ] { + + - Parameters [1] { + Parameter #0 [ $interval ] + } + } + + Method [ public method gettimer ] { + } + + Method [ public method after ] { + } + + Method [ public method clearAfter ] { + } + + Method [ public method sendmessage ] { + } + + Method [ public method addprocess ] { + } + + Method [ public method stats ] { + } + + Method [ public method bind ] { + + - Parameters [2] { + Parameter #0 [ $fd ] + Parameter #1 [ $uid ] + } } } } -- cgit