0MQ消息系统
PHP Manual

The ZMQSocket class

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

简介

类摘要

ZMQSocket {
/* Methods */
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 )
}

Table of Contents


0MQ消息系统
PHP Manual