Manages router and publisher.

#include <smsServer.h>

Inheritance diagram for SmsServer:

Public Member Functions

void smsNotificationsPublisher (boost::system::error_code ec, const dpySms::SmsNotifications &notification, const std::string &sms_id, const std::string &sms_source)
 
 SmsServer (boost::asio::io_service &io, int rport, int pport)
 
void sendSourceStatusEvent (std::string sourceid, dpySms::SourceStatus new_status)
 
void sendSmsSourcesResponse (const std::string &id_dealer, const std::string &msg, int id)
 
void sendSmsInfoResponse (const std::string &id_dealer, const std::string &msg, int id)
 
void sendAllSmsResponse (const std::string &id_dealer, const std::string &msg, int id)
 
void sendDeleteSmsResponse (const std::string &id_dealer, const std::string &msg, int id)
 
void sendSourceListEvent (std::string smssourceid, dpySms::ListEvent event)
 
- Public Member Functions inherited from DpyMwServer
 DpyMwServer (boost::asio::io_service &io, int rport, int pport)
 
void start ()
 
void stop ()
 
void publish (int messageType, int frecuency)
 

Public Attributes

void sendSmsSourceStatusResponse(const std::string &id_dealer,) const std void sendSmsDispatchResponse (const std::string &id_dealer, const std::string &msg, int id)
 

Additional Inherited Members

- Protected Member Functions inherited from DpyMwServer
void sendResponse (int messageType, std::string content, const std::string &id_dealer, int msgId, boost::system::error_code &ec)
 
void sendPublication (int messageType, std::string content, boost::system::error_code &ec)
 
- Protected Attributes inherited from DpyMwServer
boost::asio::io_service & mIo
 
map_proto_register_server m_register_map
 
map_proto_register_server m_publisher_map
 
std::mutex m_map_mutex