1 #ifndef RECODEX_BROKER_SOCKET_WRAPPER_BASE_HPP 2 #define RECODEX_BROKER_SOCKET_WRAPPER_BASE_HPP 7 #include "message_container.h" 40 std::shared_ptr<zmq::context_t> context, zmq::socket_type type,
const std::string &addr,
const bool bound);
77 #endif // RECODEX_BROKER_SOCKET_WRAPPER_BASE_HPP virtual bool send_message(const message_container &)=0
zmq_pollitem_t get_pollitem()
virtual void initialize()
virtual ~socket_wrapper_base()
socket_wrapper_base(std::shared_ptr< zmq::context_t > context, zmq::socket_type type, const std::string &addr, const bool bound)
virtual bool receive_message(message_container &)=0