ZMQSocket::recvMulti
(PECL zmq >= 0.8.0)
ZMQSocket::recvMulti — Receives a multipart message
Описание
public string ZMQSocket::recvMulti
([ integer
$mode
= 0
] )
Receive an array multipart message from a socket. By default receiving will block until a message is available unless
ZMQ::MODE_NOBLOCK
flag is used.
Список параметров
-
mode
-
Pass mode flags to receive multipart messages or non-blocking operation. See
ZMQ::MODE_*
constants.
Возвращаемые значения
Returns the array of message parts. Throws ZMQSocketException in error.
If ZMQ::MODE_NOBLOCK
is used and the operation would
block boolean false shall be returned.
- Функция ZMQSocket::bind() - Bind the socket
- Функция ZMQSocket::connect() - Connect the socket
- Функция ZMQSocket::__construct() - Construct a new ZMQSocket
- Функция ZMQSocket::disconnect() - Disconnect a socket
- Функция ZMQSocket::getEndpoints() - Get list of endpoints
- Функция ZMQSocket::getPersistentId() - Get the persistent id
- Функция ZMQSocket::getSocketType() - Get the socket type
- Функция ZMQSocket::getSockOpt() - Get socket option
- Функция ZMQSocket::isPersistent() - Whether the socket is persistent
- Функция ZMQSocket::recv() - Receives a message
- Функция ZMQSocket::recvMulti() - Receives a multipart message
- Функция ZMQSocket::send() - Sends a message
- Функция ZMQSocket::sendmulti() - Sends a multipart message
- Функция ZMQSocket::setSockOpt() - Set a socket option
- Функция ZMQSocket::unbind() - Unbind the socket
Коментарии
404 Not Found