CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publisher_http.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_NOTIFY_PUBLISHER_HTTP_H_
6 #define CVMFS_NOTIFY_PUBLISHER_HTTP_H_
7 
8 #include "publisher.h"
9 
10 #include <string>
11 
12 namespace notify {
13 
19 class PublisherHTTP : public Publisher {
20  public:
21  explicit PublisherHTTP(const std::string& server_url);
22  virtual ~PublisherHTTP();
23 
24  virtual bool Publish(const std::string& msg, const std::string& topic);
25 
26  private:
27  std::string server_url_;
28 };
29 
30 } // namespace notify
31 
32 #endif // CVMFS_NOTIFY_PUBLISHER_HTTP_H_
PublisherHTTP(const std::string &server_url)
virtual bool Publish(const std::string &msg, const std::string &topic)