Results of 1 - 10 of about 49 for message queue (0.005 sec.)
message (1129), queue (185)
- メッセージキューからメッセージを受信する 10874
- « msg_queue_exists msg_remove_queue » PHP Manual セマフォ関数 メッセージキューからメッセージを受信する 検索 msg_receive (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) msg_receive — メッセージキューからメッセージを受信する 説明 function msg_receive (
... SysvMessageQueue $queue , int $desired_message_type , int &$received_message_type , int $max_message_size , mixed &$message , bool $un ... serialize = true , int $flags = 0 , int &$error_code = null ): bool msg_receive() は、指定した queue から指定した desired_message_type の最初のメッセージを受信します。 パラメータ queue メッセージキュー desired_message_type ... desired_message_type が 0 の場合、 キューの先頭にあるメッセージが返されます。 desiredmsgtype が 0 より大きな値の場合、その型のメッセージの ...
-
https://man.mtool.work/php/8.3/function.msg-receive.html
- 例 10850
- « リソース型 Stomp 関数 » PHP Manual Stomp 例 検索 例 例1 オブジェクト指向型 <?php $queue = '/queue/foo' ; $msg = 'bar' ; /* connection */ try { $stomp = new Stomp ( 'tcp://localhost:61613' ); } catch( StompException $e ) { die( 'Connection
... failed: ' . $e -> getMessage ()); } /* send a message to the queue 'foo' */ $stomp -> send ( $queue , $msg ); /* subscribe to messages from the queue ' ... foo' */ $stomp -> subscribe ( $queue ); /* read a frame */ $frame = $stomp -> readFrame (); if ( $frame -> body === $msg ) { var_dump ( $frame ); /* acknowledg ... */ unset( $stomp ); ?> 上の例の出力は、 たとえば以下のようになります。 object(StompFrame)#2 (3) { ["command"]=> string(7) "MESSAGE" ["headers"]=> array(5) { ["message-id"]=> string(41) "ID:php.net-55293-1257226743606-4:2:-1:1:1" ["destination"]=> string ...
-
https://man.mtool.work/php/8.3/stomp.examples.html
- 例 10850
- « リソース型 Stomp 関数 » PHP Manual Stomp 例 検索 例 例1 オブジェクト指向型 <?php $queue = '/queue/foo' ; $msg = 'bar' ; /* connection */ try { $stomp = new Stomp ( 'tcp://localhost:61613' ); } catch( StompException $e ) { die( 'Connection
... failed: ' . $e -> getMessage ()); } /* send a message to the queue 'foo' */ $stomp -> send ( $queue , $msg ); /* subscribe to messages from the queue ' ... foo' */ $stomp -> subscribe ( $queue ); /* read a frame */ $frame = $stomp -> readFrame (); if ( $frame -> body === $msg ) { var_dump ( $frame ); /* acknowledg ... */ unset( $stomp ); ?> 上の例の出力は、 たとえば以下のようになります。 object(StompFrame)#2 (3) { ["command"]=> string(7) "MESSAGE" ["headers"]=> array(5) { ["message-id"]=> string(41) "ID:php.net-55293-1257226743606-4:2:-1:1:1" ["destination"]=> string ...
-
https://man.mtool.work/php/8.3/stomp.examples.html
- メッセージキューからメッセージを受信する 10823
- « msg_queue_exists msg_remove_queue » PHP Manual セマフォ関数 メッセージキューからメッセージを受信する 検索 msg_receive (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) msg_receive — メッセージキューからメッセージを受信する 説明 function msg_receive (
... SysvMessageQueue $queue , int $desired_message_type , int &$received_message_type , int $max_message_size , mixed &$message , bool $un ... serialize = true , int $flags = 0 , int &$error_code = null ): bool msg_receive() は、指定した queue から指定した desired_message_type の最初のメッセージを受信します。 パラメータ queue メッセージキュー desired_message_type ... desired_message_type が 0 の場合、 キューの先頭にあるメッセージが返されます。 desiredmsgtype が 0 より大きな値の場合、その型のメッセージの ...
-
https://man.mtool.work/php/8.3/function.msg-receive.html
- Acknowledges consumption of a message 10729
- « Stomp::abort Stomp::begin » PHP Manual Stomp Acknowledges consumption of a message 検索 Stomp::ack stomp_ack (PECL stomp >= 0.1.0) Stomp::ack -- stomp_ack — Acknowledges consumption of a message 説明 オブジェクト指向型 (method): public fu
... bool 手続き型: function stomp_ack ( resource $link , mixed $msg , array $headers = ? ): bool Acknowledges consumption of a message from a subscription using client acknowledgment. パラメータ link 手続き型のみ: stomp_connect() が返す stomp リンク ID。 ms ... g The message/messageId to be acknowledged. headers 追加のヘッダ (例: receipt) を含む連想配列。 戻り値 成功した場合に true を、失敗した場 ... 合に false を返します。 例 例1 オブジェクト指向型 <?php $queue = '/queue/foo' ; $msg = 'bar' ; /* connection */ try { $stomp = new Stomp ( 'tcp://localhost:61613' ); } catch( StompExcep ...
-
https://man.mtool.work/php/8.3/stomp.ack.html
- Acknowledges consumption of a message 10707
- « Stomp::abort Stomp::begin » PHP Manual Stomp Acknowledges consumption of a message 検索 Stomp::ack stomp_ack (PECL stomp >= 0.1.0) Stomp::ack -- stomp_ack — Acknowledges consumption of a message 説明 オブジェクト指向型 (method): public fu
... bool 手続き型: function stomp_ack ( resource $link , mixed $msg , array $headers = ? ): bool Acknowledges consumption of a message from a subscription using client acknowledgment. パラメータ link 手続き型のみ: stomp_connect() が返す stomp リンク ID。 ms ... g The message/messageId to be acknowledged. headers 追加のヘッダ (例: receipt) を含む連想配列。 戻り値 成功した場合に true を、失敗した場 ... 合に false を返します。 例 例1 オブジェクト指向型 <?php $queue = '/queue/foo' ; $msg = 'bar' ; /* connection */ try { $stomp = new Stomp ( 'tcp://localhost:61613' ); } catch( StompExcep ...
-
https://man.mtool.work/php/8.3/stomp.ack.html
- Receives a message 10439
- « ZMQSocket::isPersistent ZMQSocket::recvMulti » PHP Manual ZMQSocket Receives a message 検索 ZMQSocket::recv (PECL zmq >= 0.5.0) ZMQSocket::recv — Receives a message 説明 public function ZMQSocket::recv ( int $mode = 0 ): string Receive a
... message from a socket. By default receiving will block until a message is available unless ZMQ::MODE_DONTWAIT flag is used. ZMQ::SOCKOPT_RCVMORE socket option can be used for receiving multi-pa ... rt messages. See ZMQSocket::setSockOpt() for more information. パラメータ mode Pass mode flags to receive multipart messages or non-b ... エラー / 例外 Throws ZMQSocketException on error. 例 例1 A send/recv example Non-blocking send / receive <?php /* Create new queue object, there needs to be a server at the other end */ $queue = new ZMQSocket (new ZMQContext (), ZMQ :: SOCKET_REQ ); $qu ...
-
https://man.mtool.work/php/8.3/zmqsocket.recv.html
- Receives a message 10439
- « ZMQSocket::isPersistent ZMQSocket::recvMulti » PHP Manual ZMQSocket Receives a message 検索 ZMQSocket::recv (PECL zmq >= 0.5.0) ZMQSocket::recv — Receives a message 説明 public function ZMQSocket::recv ( int $mode = 0 ): string Receive a
... message from a socket. By default receiving will block until a message is available unless ZMQ::MODE_DONTWAIT flag is used. ZMQ::SOCKOPT_RCVMORE socket option can be used for receiving multi-pa ... rt messages. See ZMQSocket::setSockOpt() for more information. パラメータ mode Pass mode flags to receive multipart messages or non-b ... エラー / 例外 Throws ZMQSocketException on error. 例 例1 A send/recv example Non-blocking send / receive <?php /* Create new queue object, there needs to be a server at the other end */ $queue = new ZMQSocket (new ZMQContext (), ZMQ :: SOCKET_REQ ); $qu ...
-
https://man.mtool.work/php/8.3/zmqsocket.recv.html
- MQSeries MQPUT1 10219
- « mqseries_put mqseries_set » PHP Manual mqseries 関数 MQSeries MQPUT1 検索 mqseries_put1 (PECL mqseries >= 0.10.0) mqseries_put1 — MQSeries MQPUT1 説明 function mqseries_put1 ( resource $hconn , resource &$objDesc , resource &$msgDesc , re
... source &$pmo , string $buffer , resource &$compCode , resource &$reason ): void The mqseries_put1() (MQPUT1) call puts one message on a queue. The queue need not be open. You can use both the mqseries_put() and mqseries_put1() calls to put messages on a ... queue; which call to use depends on the circumstances. Use the mqseries_put() (MQPUT) call to place multiple messages on the sam ... e queue. Use the mqseries_put1() (MQPUT1) call to put only one message on a queue. This call encapsulates the MQOPEN, MQPUT, and M ...
-
https://man.mtool.work/php/8.3/function.mqseries-put1.html
- MQSeries MQPUT1 10174
- « mqseries_put mqseries_set » PHP Manual mqseries 関数 MQSeries MQPUT1 検索 mqseries_put1 (PECL mqseries >= 0.10.0) mqseries_put1 — MQSeries MQPUT1 説明 function mqseries_put1 ( resource $hconn , resource &$objDesc , resource &$msgDesc , re
... source &$pmo , string $buffer , resource &$compCode , resource &$reason ): void The mqseries_put1() (MQPUT1) call puts one message on a queue. The queue need not be open. You can use both the mqseries_put() and mqseries_put1() calls to put messages on a ... queue; which call to use depends on the circumstances. Use the mqseries_put() (MQPUT) call to place multiple messages on the sam ... e queue. Use the mqseries_put1() (MQPUT1) call to put only one message on a queue. This call encapsulates the MQOPEN, MQPUT, and M ...
-
https://man.mtool.work/php/8.3/function.mqseries-put1.html