The ZMQSocket class
(No version information available, might only be in Git)
简介
类摘要
ZMQSocket
{
/* Methods */
__construct
( ZMQContext
}$context
, int $type
[, string $persistent_id
= NULL
[, callback $on_new_socket
= NULL
]] )Table of Contents
- 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