Expand description
ZmqRpc: the DEALER/ROUTER pattern, request and reply.
The responder subscribes on a ROUTER socket: each request arrives with a reply-to header
addressing the requesting peer, and the publisher routes the answer back through the same
ROUTER. The requester uses the RequestReply capability: one DEALER per request, matched by
the correlation-id header.
- ZmqRpc:
ZmqRpc, connected intoConnectedZmqRpc, on either side of its endpoint. - Request-reply:
ZmqRpcPublisherissues requests throughRequestReply. - Responders:
ZmqRpcSubscriber, answered at each request’sreply-toaddress throughZmqRpcPublish, offered asPublishbyprelude.
Re-exports§
pub use self::ZmqRpcPublish as Publish;
Modules§
- prelude
- The imports a routes file on the DEALER/ROUTER exchange writes, in one glob.
Structs§
- Connected
ZmqRpc - The connected form of
ZmqRpc. - ZmqRpc
- The DEALER/ROUTER request-reply pattern.
- ZmqRpc
Publish - The publish policy for
ZmqRpcPublisher. - ZmqRpc
Publisher - Publishes replies back through the responder’s ROUTER, and issues requests via
RequestReply. - ZmqRpc
Subscriber - A responder subscription on the ROUTER socket, yielding one request at a time.