Subscriber class.

#include <dpyMwSubscriber.h>

Inheritance diagram for DpyMwSubscriber:

Public Member Functions

 DpyMwSubscriber (boost::asio::io_service &io, std::string pubUrl)
 
void start ()
 
void stop ()
 
void restart ()
 

Public Attributes

std::function< void(const std::string &msg)> m_handler
 Handler function to call from the client.