A class that keeps track of the sms sources and makes them available through the execution of the program.

#include <smsSourceList.h>

Inheritance diagram for SmsSourceList:

Public Member Functions

 SmsSourceList (boost::asio::io_service &io, SmsServer *server)
 
boost::system::error_code getSmsSources (std::list< boost::shared_ptr< ISmsSource >> &list)
 
boost::system::error_code getSmsSource (const std::string &sourceid, boost::shared_ptr< ISmsSource > &source)
 
boost::system::error_code getSmsInfo (const std::string &smsid, dpySms::SmsInformation &info)
 
std::list< boost::shared_ptr< ISms > > getSmsList () const
 
boost::system::error_code sendSms (const std::string &sourceid, const std::string &destination, const std::string &content, std::string &smsid)
 
boost::system::error_code deleteSms (const std::string &smsid)