ZMQ
简介
警告
“ØMQ 是函数库,能够快速设计和开发基于消息的快速应用。”——0MQ 官网
此扩展是实验性的。 此扩展的行为,包括其函数的名称和围绕此扩展的相关文档都可能会在未来的 PHP 版本中发生变化而不另行通知。使用本扩展应自行承担风险。
关于 0MQ 的更多信息,请参考 » https://zeromq.org/。
- 安装/配置
- ZMQ — The ZMQ class
- ZMQ::__construct — ZMQ constructor
- 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 socket option
- ZMQSocket — The ZMQSocket class
- 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
- ZMQPoll — The ZMQPoll class
- ZMQPoll::add — Add item to the poll set
- ZMQPoll::clear — Clear the poll set
- ZMQPoll::count — Count items in the poll set
- ZMQPoll::getLastErrors — Get poll errors
- ZMQPoll::poll — Poll the items
- ZMQPoll::remove — Remove item from poll set
- ZMQDevice — The ZMQDevice class
- ZMQDevice::__construct — Construct a new device
- ZMQDevice::getIdleTimeout — Get the idle timeout
- ZMQDevice::getTimerTimeout — Get the timer timeout
- ZMQDevice::run — Run the new device
- ZMQDevice::setIdleCallback — Set the idle callback function
- ZMQDevice::setIdleTimeout — Set the idle timeout
- ZMQDevice::setTimerCallback — Set the timer callback function
- ZMQDevice::setTimerTimeout — Set the timer timeout
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
