00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SEMAINE_CMS_SENDER_BMLSENDER_H
00011 #define SEMAINE_CMS_SENDER_BMLSENDER_H
00012
00013 #include <semaine/config.h>
00014
00015 #include <semaine/cms/sender/XMLSender.h>
00016
00017 using namespace cms;
00018 using namespace semaine::cms::sender;
00019 using namespace semaine::cms::exceptions;
00020
00021 namespace semaine {
00022 namespace cms {
00023 namespace sender {
00024
00025 class BMLSender : public XMLSender
00026 {
00027 public:
00041 BMLSender(const std::string & topicName, const std::string & source)
00042 throw(CMSException, SystemConfigurationException) :
00043 XMLSender(topicName, "BML", source)
00044 {
00045 }
00046
00056 BMLSender(const std::string & cmsUrl, const std::string & cmsUser, const std::string & cmsPassword, const std::string & topicName, const std::string & source)
00057 throw (CMSException, SystemConfigurationException) :
00058 XMLSender(cmsUrl, cmsUser, cmsPassword, topicName, "BML", source)
00059 {
00060 }
00061
00062 };
00063
00064 }
00065 }
00066 }
00067
00068
00069
00070 #endif
00071