Skip to main content

Module rpc

Module rpc 

Source
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.

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§

ConnectedZmqRpc
The connected form of ZmqRpc.
ZmqRpc
The DEALER/ROUTER request-reply pattern.
ZmqRpcPublish
The publish policy for ZmqRpcPublisher.
ZmqRpcPublisher
Publishes replies back through the responder’s ROUTER, and issues requests via RequestReply.
ZmqRpcSubscriber
A responder subscription on the ROUTER socket, yielding one request at a time.