« ZMQContext::getSocket
ZMQContext::setOpt »

ZMQContext::isPersistent

(PECL zmq >= 0.5.0)

ZMQContext::isPersistent — Whether the context is persistent

説明

public function 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.

関連キーワード:
context   persistent   ZMQContext   Whether   isPersistent   getSocket   setOpt   Persistent   needed   connections   socket   allocated
関連する関数・ページ:
zmqcontext.construct   class.zmqcontext   zmqcontext.getsocket   zmqcontext.getopt   zmqsocket.construct   zmqcontext.setopt