smsApi.h File Reference
#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include <map>
#include <vector>
#include "iSmsSource.h"
Include dependency graph for smsApi.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | Sms |
Allows to interact with the SMS service. More... | |
Namespaces | |
dpySms | |
Deepsy SMS namespace that includes the different enums, structs or method signatures that should be used. | |
Typedefs | |
typedef 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. More... | |
typedef 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. More... | |
typedef boost::function< void(const bool &available)> | service_availability_handler |
Prototype of the handler function used to monitor service availability. More... | |
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 |
Prototype of the handler function for SMS notifications method. | |
typedef 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. | |
typedef 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. | |
typedef boost::function< void(boost::system::error_code &error_code)> | result_handler_function |
Prototype of the handler function to obtain a single SMS. | |
typedef boost::function< void(boost::system::error_code &error_code)> | command_request_handler |
Prototype of the handler function to obtain a single SMS. | |
typedef boost::function< void(boost::system::error_code &error_code, const std::string &smsid)> | send_sms_handler_function |
Callback handler used when sending sms. More... | |
typedef 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. More... | |