Rechercher une fonction PHP

The Swoole\Redis\Server class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Retour à la première page de Manuel PHP  Table des matières Haut

Synopsis de la classe

Swoole\Redis\Server extends Swoole\Server {
/* Constants */
const integer NIL = 1 ;
const integer ERROR = 0 ;
const integer STATUS = 2 ;
const integer INT = 3 ;
const integer STRING = 4 ;
const integer SET = 5 ;
const integer MAP = 6 ;
/* Méthodes */
public static format ( string $type [, string $value ] ) : ReturnType
public setHandler ( string $command , string $callback [, string $number_of_string_param [, string $type_of_array_param ]] ) : ReturnType
public start ( void ) : ReturnType
/* Méthodes héritées */
public Swoole\Server::addlistener ( string $host , integer $port , string $socket_type ) : void
public Swoole\Server::addProcess ( swoole_process $process ) : boolean
public Swoole\Server::after ( integer $after_time_ms , callable $callback [, string $param ] ) : ReturnType
public Swoole\Server::bind ( integer $fd , integer $uid ) : boolean
public Swoole\Server::clearTimer ( integer $timer_id ) : void
swoole_timer_clear ( integer $timer_id ) : void
public Swoole\Server::close ( integer $fd [, boolean $reset ] ) : boolean
public Swoole\Server::confirm ( integer $fd ) : boolean
public Swoole\Server::connection_info ( integer $fd [, integer $reactor_id ] ) : array
public Swoole\Server::connection_list ( integer $start_fd [, integer $pagesize ] ) : array
public Swoole\Server::defer ( callable $callback ) : void
public Swoole\Server\Port::__destruct ( void ) : void
public Swoole\Server\Port::on ( string $event_name , callable $callback ) : ReturnType
public Swoole\Server\Port::set ( array $settings ) : void
public Swoole\Server::exist ( integer $fd ) : boolean
public Swoole\Server::finish ( string $data ) : void
public Swoole\Server::getClientInfo ( integer $fd [, integer $reactor_id ] ) : ReturnType
public Swoole\Server::getClientList ( integer $start_fd [, integer $pagesize ] ) : array
public Swoole\Server::getLastError ( void ) : integer
public Swoole\Server::heartbeat ( boolean $if_close_connection ) : mixed
public Swoole\Server::listen ( string $host , integer $port , string $socket_type ) : boolean
public Swoole\Server::on ( string $event_name , callable $callback ) : void
public Swoole\Server::pause ( integer $fd ) : void
public Swoole\Server::protect ( integer $fd [, boolean $is_protected ] ) : void
public Swoole\Server::reload ( void ) : boolean
public Swoole\Server::resume ( integer $fd ) : void
public Swoole\Server::send ( integer $fd , string $data [, integer $reactor_id ] ) : boolean
public Swoole\Server::sendfile ( integer $fd , string $filename [, integer $offset ] ) : boolean
public Swoole\Server::sendMessage ( integer $worker_id , string $data ) : boolean
public Swoole\Server::sendto ( string $ip , integer $port , string $data [, string $server_socket ] ) : boolean
public Swoole\Server::sendwait ( integer $fd , string $data ) : boolean
public Swoole\Server::set ( array $settings ) : ReturnType
public Swoole\Server::shutdown ( void ) : void
public Swoole\Server::start ( void ) : void
public Swoole\Server::stats ( void ) : array
public Swoole\Server::stop ([ integer $worker_id ] ) : boolean
public Swoole\Server::task ( string $data [, integer $dst_worker_id [, callable $callback ]] ) : mixed
public Swoole\Server::taskwait ( string $data [, float $timeout [, integer $worker_id ]] ) : void
public Swoole\Server::taskWaitMulti ( array $tasks [, double $timeout_ms ] ) : void
public Swoole\Server::tick ( integer $interval_ms , callable $callback ) : void
}

Retour à la première page de Manuel PHP  Table des matières Haut

Constantes pré-définies

Swoole\Redis\Server::NIL

Swoole\Redis\Server::ERROR

Swoole\Redis\Server::STATUS

Swoole\Redis\Server::INT

Swoole\Redis\Server::STRING

Swoole\Redis\Server::SET

Swoole\Redis\Server::MAP

Retour à la première page de Manuel PHP  Table des matières Haut

Sommaire

Rechercher une fonction PHP

Document créé le 30/01/2003, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/php-rf-class.swoole-redis-server.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : http://php.net

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut