smsApi.h
Go to the documentation of this file.
28 typedef boost::function<void(boost::system::error_code, std::list<std::string> sources)> sms_sources_list_handler_function;
36 typedef boost::function<void(boost::system::error_code, std::string sourceid, ListEvent event)> source_list_event_handler_function;
44 typedef boost::function<void(boost::system::error_code& ec, dpySms::SmsNotifications notif,const std::string& sms_identifier, const std::string& sms_source)> sms_notif_handler;
46 void(boost::system::error_code& error_code, const std::string& smsid, const dpySms::SmsInformation& smsinfo)> sms_info_handler;
48 void(boost::system::error_code& ec, std::map<std::string, dpySms::SmsInformation>& smsList)> sms_list_handler;
57 typedef boost::function<void(boost::system::error_code& error_code, const std::string& smsid)> send_sms_handler_function;
65 typedef boost::function<void(boost::system::error_code, std::string smssourceid, SourceStatus event)> source_status_handler_function;
104 void asyncGetSmsSourceStatus(std::string sourceid, dpySms::source_status_handler_function handler);
118 void asyncSendSms(const std::string& sourceid,const std::string& content, const std::string& destination, dpySms::send_sms_handler_function handler);
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: smsApi.h:42
boost::function< void(boost::system::error_code &error_code)> command_request_handler
Prototype of the handler function to obtain a single SMS.
Definition: smsApi.h:50
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
Deepsy SMS namespace that includes the different enums, structs or method signatures that should be u...
Definition: smsApi.h:14
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