ZMQContext::__constructConstruct a new ZMQContext object 説明
public ZMQContext::__construct(int
$io_threads = 1, bool $is_persistent = true )Constructs a new ZMQ context. The context is used to initialize sockets. A persistent context is required to initialize persistent sockets. パラメータ
エラー / 例外Throws ZMQContextException if context initialization fails. 例
例1 A ZMQContext example Construct a new context and allocate request socket from it
|