zmqpp  4.1.2
C++ bindings for 0mq (libzmq)
proxy_steerable.hpp
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * This file is part of zmqpp.
7  * Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
8  */
9 
10 #pragma once
11 
12 #include "socket.hpp"
13 
14 namespace zmqpp
15 {
16 #if (ZMQ_VERSION_MAJOR >= 4)
17 
35  {
36  public:
41  proxy_steerable(socket &sa, socket &sb, socket &control );
42 
48  proxy_steerable(socket &sa, socket &sb, socket &control, socket &capture );
49  };
50 #endif
51 
52 }
zmqpp::proxy_steerable
Provide a steerable proxy that will bidirectionally forward traffic between socket A and B.
Definition: proxy_steerable.hpp:35
zmqpp
C++ wrapper around zmq.
Definition: actor.cpp:30
zmqpp::proxy_steerable::proxy_steerable
proxy_steerable(socket &sa, socket &sb, socket &control)
Construct a proxy that will forward traffic from A to B and from B to A and receive control messages ...
Definition: proxy_steerable.cpp:14
zmqpp::socket
The socket class represents the zmq sockets.
Definition: socket.hpp:76
socket.hpp