smsClient.h
Go to the documentation of this file.
21 boost::system::error_code buildSmsInfo(smsProto::InfoElement* protoinfoptr, dpySms::SmsInformation& info);
34 void asyncGetSmsSourceStatus(std::string sourceid, dpySms::source_status_handler_function handler);
37 void asyncSendSms(const std::string& sourceid,const std::string& content, const std::string& destination, dpySms::send_sms_handler_function handler);
boost::function< void(boost::system::error_code, std::list< std::string > sources)> sms_sources_list_handler_function
Prototype of the handler function for getting available sms sources.
Definition: smsApi.h:28
boost::function< void(boost::system::error_code &error_code)> result_handler_function
Prototype of the handler function to obtain a single SMS.
Definition: smsApi.h:49
boost::function< void(boost::system::error_code &ec, std::map< std::string, dpySms::SmsInformation > &smsList)> sms_list_handler
Prototype of the handler function to obtain SMS list.
Definition: smsApi.h:48
boost::function< void(boost::system::error_code, std::string sourceid, ListEvent event)> source_list_event_handler_function
Prototype of the handler function for subscribing to list events.
Definition: smsApi.h:36
boost::function< void(boost::system::error_code &error_code, const std::string &smsid, const dpySms::SmsInformation &smsinfo)> sms_info_handler
Prototype of the handler function to obtain a single SMS.
Definition: smsApi.h:46
boost::function< void(boost::system::error_code, std::string smssourceid, SourceStatus event)> source_status_handler_function
Prototype of the handler function for subscribing to source status events.
Definition: smsApi.h:65
boost::function< void(boost::system::error_code &error_code, const std::string &smsid)> send_sms_handler_function
Callback handler used when sending sms.
Definition: smsApi.h:57
boost::function< void(boost::system::error_code &ec, dpySms::SmsNotifications notif, const std::string &sms_identifier, const std::string &sms_source)> sms_notif_handler
Prototype of the handler function for SMS notifications method.
Definition: smsApi.h:44