zmqpp 4.1.2
C++ bindings for 0mq (libzmq)
|
Provide a simple, non-steerable proxy that will bidirectionally forward traffic between socket A and B. More...
#include <proxy.hpp>
Public Member Functions | |
proxy (socket &sa, socket &sb) | |
Construct a proxy that will forward traffic from A to B and from B to A. | |
proxy (socket &sa, socket &sb, socket &capture) | |
Construct a proxy that will forward traffic from A to B and from B to A as-well as sending a copy of all message to capture | |
Provide a simple, non-steerable proxy that will bidirectionally forward traffic between socket A and B.
If a capture socket is specified, the proxy shall send all messages, received on both frontend and backend, to the capture socket. The capture socket should be a ZMQ_PUB, ZMQ_DEALER, ZMQ_PUSH, or ZMQ_PAIR socket.
zmq_proxy()
. Construct a proxy that will forward traffic from A to B and from B to A.
zmqpp::proxy::proxy | ( | zmqpp::socket & | sa, |
zmqpp::socket & | sb, | ||
zmqpp::socket & | capture ) |
Construct a proxy that will forward traffic from A to B and from B to A as-well as sending a copy of all message to capture