Router class.

#include <dpyMwRouter.h>

Inheritance diagram for DpyMwRouter:

Public Member Functions

 DpyMwRouter (boost::asio::io_service &io, std::string routerUrl)
 
void start ()
 
void stop ()
 
void doAsyncReceive ()
 
void doSend (std::string idDealer, std::string payload)
 

Public Attributes

std::function< void(const std::string &id, const std::string &payload)> m_handler
 Handler function to call from the service.