SmsClient Class Reference

Allows to interact with the SMS service.

#include <smsClient.h>

Inheritance diagram for SmsClient:

Public Member Functions

 SmsClient (std::string &ip, int dport, int sport)
 
void asyncGetSmsSources (dpySms::sms_sources_list_handler_function handler)
 
void smsSourceListEvent_S (dpySms::source_list_event_handler_function handler)
 
void getSmsNotifications_S (dpySms::sms_notif_handler handler)
 
void getSmsNotifications_U ()
 
void monitorSourcesStatusEvents_S (dpySms::source_status_handler_function handler)
 
void monitorSourcesStatusEvents_U ()
 
void asyncGetSmsSourceStatus (std::string sourceid, dpySms::source_status_handler_function handler)
 
void asyncGetSmsInfo (const std::string &smsid, dpySms::sms_info_handler handler)
 
void asyncGetSmsList (dpySms::sms_list_handler handler)
 
void asyncSendSms (const std::string &sourceid, const std::string &content, const std::string &destination, dpySms::send_sms_handler_function handler)
 
void asyncDeleteSms (const std::string &smsid, dpySms::result_handler_function handler)
 
- Public Member Functions inherited from DpyMwClient
 DpyMwClient (std::string &ip, int dport, int sport)
 
void start ()
 
void stop ()
 
void subscribe (int messageType, boost::any handler)
 
void unsubscribe (int messageType)
 
bool isAlive ()
 
void monitorServiceAvailability_S (const f_hearbeat_handler &handler)
 
void monitorServiceAvailability_U ()
 

Additional Inherited Members

- Protected Member Functions inherited from DpyMwClient
void sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000)
 
- Protected Attributes inherited from DpyMwClient
map_proto_register_client m_register_map
 
std::mutex m_map_mutex