From 58fdae1b851cae9fbd1afb438d979d5ef69f982c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 May 2014 08:08:58 +0200 Subject: php-pecl-mosquitto: 0.2.2 (alpha) --- REFLECTION | 282 ++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-mosquitto.spec | 12 ++- 2 files changed, 291 insertions(+), 3 deletions(-) create mode 100644 REFLECTION diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..8ae220e --- /dev/null +++ b/REFLECTION @@ -0,0 +1,282 @@ +Extension [ extension #107 mosquitto version 0.2.2 ] { + + - Constants [7] { + Constant [ integer MOSQ_LOG_INFO ] { 1 } + Constant [ integer MOSQ_LOG_NOTICE ] { 2 } + Constant [ integer MOSQ_LOG_WARNING ] { 4 } + Constant [ integer MOSQ_LOG_ERR ] { 8 } + Constant [ integer MOSQ_LOG_DEBUG ] { 16 } + Constant [ integer 0 ] { 0 } + Constant [ integer 1 ] { 1 } + } + + - Classes [3] { + Class [ class Mosquitto\Client ] { + + - Constants [7] { + Constant [ integer LOG_INFO ] { 1 } + Constant [ integer LOG_NOTICE ] { 2 } + Constant [ integer LOG_WARNING ] { 4 } + Constant [ integer LOG_ERR ] { 8 } + Constant [ integer LOG_DEBUG ] { 16 } + Constant [ integer SSL_VERIFY_NONE ] { 0 } + Constant [ integer SSL_VERIFY_PEER ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [24] { + Method [ public method __construct ] { + } + + Method [ public method onConnect ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method onDisconnect ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method onLog ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method onSubscribe ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method onUnsubscribe ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method onMessage ] { + + - Parameters [1] { + Parameter #0 [ callable $onConnect ] + } + } + + Method [ public method getSocket ] { + } + + Method [ public method setTlsCertificates ] { + } + + Method [ public method setTlsInsecure ] { + } + + Method [ public method setTlsOptions ] { + } + + Method [ public method setTlsPSK ] { + } + + Method [ public method setCredentials ] { + + - Parameters [2] { + Parameter #0 [ $username ] + Parameter #1 [ $password ] + } + } + + Method [ public method setWill ] { + + - Parameters [4] { + Parameter #0 [ $topic ] + Parameter #1 [ $payload ] + Parameter #2 [ $qos ] + Parameter #3 [ $retain ] + } + } + + Method [ public method setReconnectDelay ] { + + - Parameters [3] { + Parameter #0 [ $reconnectDelay ] + Parameter #1 [ $maxReconnectDelay ] + Parameter #2 [ $exponentialBackoff ] + } + } + + Method [ public method setMessageRetry ] { + + - Parameters [1] { + Parameter #0 [ $messageRetry ] + } + } + + Method [ public method connect ] { + + - Parameters [4] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $keepalive ] + Parameter #3 [ $interface ] + } + } + + Method [ public method disconnect ] { + } + + Method [ public method setMaxInFlightMessages ] { + + - Parameters [1] { + Parameter #0 [ $max ] + } + } + + Method [ public method publish ] { + + - Parameters [4] { + Parameter #0 [ $topic ] + Parameter #1 [ $payload ] + Parameter #2 [ $qos ] + Parameter #3 [ $retain ] + } + } + + Method [ public method subscribe ] { + + - Parameters [2] { + Parameter #0 [ $topic ] + Parameter #1 [ $qos ] + } + } + + Method [ public method unsubscribe ] { + + - Parameters [1] { + Parameter #0 [ $topic ] + } + } + + Method [ public method loop ] { + + - Parameters [2] { + Parameter #0 [ $timeout ] + Parameter #1 [ $maxPackets ] + } + } + + Method [ public method loopForever ] { + + - Parameters [2] { + Parameter #0 [ $timeout ] + Parameter #1 [ $maxPackets ] + } + } + } + } + + Class [ class Mosquitto\Exception extends Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Mosquitto\Message ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method topicMatchesSub ] { + + - Parameters [2] { + Parameter #0 [ $topic ] + Parameter #1 [ $subscription ] + } + } + + Method [ static public method tokeniseTopic ] { + + - Parameters [1] { + Parameter #0 [ $topic ] + } + } + } + + - Properties [0] { + } + + - Methods [1] { + Method [ public method __construct ] { + } + } + } + } +} + diff --git a/php-pecl-mosquitto.spec b/php-pecl-mosquitto.spec index 974794d..cf7cb4b 100644 --- a/php-pecl-mosquitto.spec +++ b/php-pecl-mosquitto.spec @@ -22,8 +22,8 @@ Summary: Extension for libmosquitto Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 0.2.1 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 0.2.2 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{proj_name} @@ -44,7 +44,7 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if 0%{!?scl:1} +%if "%{?vendor}" == "Remi Collet" # Other third party repo stuff %if "%{php_version}" > "5.4" Obsoletes: php53-pecl-%{pecl_name} @@ -54,6 +54,9 @@ Obsoletes: php54-pecl-%{pecl_name} %if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} %endif +%if "%{php_version}" > "5.6" +Obsoletes: php56u-pecl-%{pecl_name} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -182,6 +185,9 @@ rm -rf %{buildroot} %changelog +* Tue May 13 2014 Remi Collet - 0.2.2-1 +- Update to 0.2.2 (alpha) + * Wed Apr 16 2014 Remi Collet - 0.2.1-2 - add numerical prefix to extension configuration file -- cgit