The ZMQSocket class

Introduction

Class synopsis

ZMQSocket
class ZMQSocket {
/* Methods */
public ZMQSocket bind(string $dsn, bool $force = false)
public ZMQSocket connect(string $dsn, bool $force = false)
public __construct(
    ZMQContext $context,
    int $type,
    string $persistent_id = null,
    callable $on_new_socket = null
)
public ZMQSocket disconnect(string $dsn)
public array getEndpoints()
public string getPersistentId()
public int getSocketType()
public mixed getSockOpt(string $key)
public bool isPersistent()
public string recv(int $mode = 0)
public array recvMulti(int $mode = 0)
public ZMQSocket send(string $message, int $mode = 0)
public ZMQSocket sendmulti(array $message, int $mode = 0)
public ZMQSocket setSockOpt(int $key, mixed $value)
public ZMQSocket unbind(string $dsn)
}
Table of Contents