0MQ messaging
PHP Manual

La classe ZMQSocket

(No version information available, might only be in Git)

Introduction

Synopsis de la classe

ZMQSocket {
/* Méthodes */
public ZMQSocket bind ( string $dsn [, bool $force = FALSE ] )
public ZMQSocket connect ( string $dsn [, bool $force = FALSE ] )
__construct ( ZMQContext $context , int $type [, string $persistent_id = NULL [, callback $on_new_socket = NULL ]] )
public ZMQSocket disconnect ( string $dsn )
public array getEndpoints ( void )
public string getPersistentId ( void )
public int getSocketType ( void )
public mixed getSockOpt ( string $key )
public bool isPersistent ( void )
public string recv ([ int $mode = 0 ] )
public string recvMulti ([ int $mode = 0 ] )
public ZMQSocket send ( string $message [, int $mode = 0 ] )
public ZMQSocket send ( array $message [, int $mode = 0 ] )
public ZMQSocket setSockOpt ( int $key , mixed $value )
public ZMQSocket unbind ( string $dsn )
}

Sommaire


0MQ messaging
PHP Manual