ReCodEx - Task Broker
ReCodEx is complex programmer testing solution, primary targeted to technical universities. It's highly customizable and based on modern technologies.
router_socket_wrapper.h
1 #ifndef RECODEX_BROKER_ROUTER_SOCKET_WRAPPER_H
2 #define RECODEX_BROKER_ROUTER_SOCKET_WRAPPER_H
3 
4 #include <zmq.hpp>
5 
6 #include "socket_wrapper_base.h"
7 
12 {
13 public:
19  router_socket_wrapper(std::shared_ptr<zmq::context_t> context, const std::string &addr, const bool bound);
20 
21  bool send_message(const message_container &message);
22 
23  bool receive_message(message_container &target);
24 };
25 
26 #endif // RECODEX_BROKER_ROUTER_SOCKET_WRAPPER_H
bool send_message(const message_container &message)
bool receive_message(message_container &target)
router_socket_wrapper(std::shared_ptr< zmq::context_t > context, const std::string &addr, const bool bound)