12 #include <azmq/socket.hpp> 13 #include <azmq/message.hpp> 14 #include <azmq/util/scope_guard.hpp> 16 #include <boost/shared_ptr.hpp> 17 #include <boost/asio.hpp> 18 #include <boost/bind.hpp> 19 #include <boost/function.hpp> 20 #include <boost/enable_shared_from_this.hpp> 22 namespace asio = boost::asio;
43 void doAsyncReceive();
49 boost::asio::io_service& mIo;
50 azmq::sub_socket m_subscriberSocket;
53 std::string m_message_subscriber;
59 std::function<void(const std::string &msg)>
m_handler;
Subscriber class.
Definition: dpyMwSubscriber.h:27
std::function< void(const std::string &msg)> m_handler
Handler function to call from the client.
Definition: dpyMwSubscriber.h:59