00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef SEMAINE_CMS_RECEIVER_BMLRECEIVER_H
00012 #define SEMAINE_CMS_RECEIVER_BMLRECEIVER_H
00013
00014 #include <semaine/config.h>
00015
00016 #include <semaine/cms/receiver/XMLReceiver.h>
00017
00018
00019
00020 using namespace cms;
00021 using namespace semaine::cms::exceptions;
00022 using namespace semaine::cms::message;
00023
00024 namespace semaine {
00025 namespace cms {
00026 namespace receiver {
00027
00033 class BMLReceiver : public XMLReceiver
00034 {
00035 public:
00047 BMLReceiver(const std::string & topicName) throw(CMSException) :
00048 XMLReceiver(topicName)
00049 {}
00050
00065 BMLReceiver(const std::string & topicName, const std::string & messageSelector)
00066 throw(CMSException) :
00067 XMLReceiver(topicName, messageSelector)
00068 {}
00069
00078 BMLReceiver(const std::string & cmsUrl, const std::string & cmsUser, const std::string & cmsPassword,
00079 const std::string & topicName)
00080 throw (CMSException) :
00081 XMLReceiver(cmsUrl, cmsUser, cmsPassword, topicName)
00082 {}
00083
00095 BMLReceiver(const std::string & cmsUrl, const std::string & cmsUser, const std::string & cmsPassword,
00096 const std::string & topicName, const std::string & messageSelector)
00097 throw (CMSException) :
00098 XMLReceiver(cmsUrl, cmsUser, cmsPassword, topicName, messageSelector)
00099 {}
00100
00101 };
00102
00103 }
00104 }
00105 }
00106
00107
00108 #endif
00109