Php/docs/zmqcontext.ispersistent

提供:Dev Guides
< Php
移動先:案内検索

ZMQContext::isPersistent

(PECL zmq >= 0.5.0)

ZMQContext::isPersistentWhether the context is persistent


説明

public ZMQContext::isPersistent ( ) : bool

Whether the context is persistent. Persistent context is needed for persistent connections as each socket is allocated from a context.


パラメータ

この関数にはパラメータはありません。


返り値

Returns true if the context is persistent and false if the context is non-persistent.