Results of 1 - 10 of about 13 for ZMQContext (0.003 sec.)
- The ZMQContext class | PHP 8.3 13038
- The ZMQContext class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQContext { /* メソッド */ public function __construct ( int $io_threads = 1 , bool $is_persistent = true ) public function getOpt ( string $key ): mixed public function ge
... n_new_socket = null ): ZMQSocket public function isPersistent (): bool public function setOpt ( int $key , mixed $value ): ZMQContext } 目次 ZMQContext::__construct — Construct a new ZMQContext object ZMQContext::getOpt — Get context option ZMQContext::get ... Socket — Create a new socket ZMQContext::isPersistent — Whether the context is persistent ZMQContext::setOpt — Set a socket option 他のマニュアルの関連ページ Linu ...
-
https://man.mtool.work/php/8.3/class.zmqcontext.html
- ZMQ | PHP 8.3 10486
- ZMQ はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己責任で使用してく
... ール/設定 要件 インストール手順 ZMQ — The ZMQ class ZMQ::__construct — ZMQ constructor ZMQException — The ZMQException class ZMQContext — The ZMQContext class ZMQContext::__construct — Construct a new ZMQContext object ZMQContext::getOpt — Get context option ... ZMQContext::getSocket — Create a new socket ZMQContext::isPersistent — Whether the context is persistent ZMQContext::setOpt — Set a s ... ocket option ZMQContextException — The ZMQContextException class ZMQSocket — The ZMQSocket class ZMQSocket::bind — Bind the socket ZMQSocket::conn ...
-
https://man.mtool.work/php/8.3/book.zmq.html
- ZMQContext::__construct — Construct a new ZMQContext object | PHP 8.3 10381
- ZMQContext::__construct (PECL zmq >= 0.5.0) ZMQContext::__construct — Construct a new ZMQContext object 説明 public function ZMQContext::__construct ( int $io_threads = 1 , bool $is_persistent = true ) Constructs a new ZMQ context. The cont
... ent. Persistent context is stored over multiple requests and is a requirement for persistent sockets. エラー / 例外 Throws ZMQContextException if context initialization fails. 例 例1 A ZMQContext() example Construct a new context and allocate request socke ... t from it <?php /* Allocate a new context */ $context = new ZMQContext (); /* Create a new socket */ $socket = $context -> getSocket ( ZMQ :: SOCKET_REQ , 'my sock' ); /* Connect the socket */ ...
-
https://man.mtool.work/php/8.3/zmqcontext.construct.html
- ZMQContext::setOpt — Set a socket option | PHP 8.3 9747
- ZMQContext::setOpt (PECL zmq >= 1.0.4) ZMQContext::setOpt — Set a socket option 説明 public function ZMQContext::setOpt ( int $key , mixed $value ): ZMQContext Sets a ZMQ context option. The type of the value depends on the key . See ZMQ Co
... メータ key One of the ZMQ::CTXOPT_ * constants. value The value of the parameter. 戻り値 Returns the current object. Throws ZMQContextException on error. 他のマニュアルの関連ページ Linux JM unix(7) ...
-
https://man.mtool.work/php/8.3/zmqcontext.setopt.html
- ZMQContext::getSocket — Create a new socket | PHP 8.3 9396
- ZMQContext::getSocket (PECL zmq >= 0.5.0) ZMQContext::getSocket — Create a new socket 説明 public function ZMQContext::getSocket ( int $type , string $persistent_id = null , callable $on_new_socket = null ): ZMQSocket Shortcut for creating
... sistent_id as two arguments. 戻り値 Returns a ZMQSocket object. エラー / 例外 Throws ZMQSocketException on error. 例 例1 A ZMQContext() example Basic usage <?php /* Allocate a new context */ $context = new ZMQContext (); /* Create a new socket */ $socket = ...
-
https://man.mtool.work/php/8.3/zmqcontext.getsocket.html
- ZMQContext::getOpt — Get context option | PHP 8.3 8920
- ZMQContext::getOpt (PECL zmq >= 1.0.4) ZMQContext::getOpt — Get context option 説明 public function ZMQContext::getOpt ( string $key ): mixed Returns the value of a context option. パラメータ key An integer representing the option. See the
... ZMQ::CTXOPT_ * constants. 戻り値 Returns either a string or an int depending on key . Throws ZMQContextException on error. 他のマニュアルの関連ページ Linux JM getopt(3) Python getopt Docker docker context Docker docker context ...
-
https://man.mtool.work/php/8.3/zmqcontext.getopt.html
- ZMQContext::isPersistent — Whether the context is persistent | PHP 8.3 8815
- 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
...
-
https://man.mtool.work/php/8.3/zmqcontext.ispersistent.html
- ZMQSocket::__construct — Construct a new ZMQSocket | PHP 8.3 8041
- ZMQSocket::__construct (PECL zmq >= 0.5.0) ZMQSocket::__construct — Construct a new ZMQSocket 説明 public function ZMQSocket::__construct ( ZMQContext $context , int $type , string $persistent_id = null , callable $on_new_socket = null ) Co
... multiple requests. The on_new_socket is called only when a new underlying socket structure is created. パラメータ context ZMQContext object. type The socket type. See ZMQ::SOCKET_ * constants. persistent_id If persistent_id is specified the socket will be ... calhost:12122" ); } else { $socket -> connect ( "tcp://localhost:12122" ); } } /* Allocate a new context */ $context = new ZMQContext (); /* Create a new socket */ $socket = $context -> getSocket ( ZMQ :: SOCKET_REP , 'server' , 'on_new_socket_cb' ); $mess ...
-
https://man.mtool.work/php/8.3/zmqsocket.construct.html
- ZMQSocket::connect — Connect the socket | PHP 8.3 7566
- ZMQSocket::connect (PECL zmq >= 0.5.0) ZMQSocket::connect — Connect the socket 説明 public function ZMQSocket::connect ( string $dsn , bool $force = false ): ZMQSocket Connect the socket to a remote endpoint. The endpoint is defined in form
... connected to given endpoint. 戻り値 Returns the current object. エラー / 例外 Throws ZMQSocketException on error. 例 例1 A ZMQContext() example Construct a new context and allocate request socket from it <?php /* Server hostname */ $dsn = "tcp://127.0.0.1: ... 5555" ; /* Create a socket */ $socket = new ZMQSocket (new ZMQContext (), ZMQ :: SOCKET_REQ , 'my socket' ); /* Get list of connected endpoints */ $endpoints = $socket -> getEndpoints (); /* C ...
-
https://man.mtool.work/php/8.3/zmqsocket.connect.html
- その他のサービス | PHP 8.3 7196
- その他のサービス cURL — Client URL Library インストール/設定 定義済み定数 例 cURL 関数 CurlHandle — CurlHandle クラス CurlMultiHandle — CurlMultiHandle クラス CurlShareHandle — CurlShareHandle クラス CurlSharePersistentHandle — CurlSharePer
... ンストール/設定 例 YAZ 関数 0MQ messaging — ZMQ インストール/設定 ZMQ — The ZMQ class ZMQException — The ZMQException class ZMQContext — The ZMQContext class ZMQContextException — The ZMQContextException class ZMQSocket — The ZMQSocket class ZMQSocketExcept ...
-
https://man.mtool.work/php/8.3/refs.remote.other.html