CernVM-FS
2.12.0
|
#include <publisher_http.h>
Public Member Functions | |
PublisherHTTP (const std::string &server_url) | |
virtual | ~PublisherHTTP () |
virtual bool | Publish (const std::string &msg, const std::string &topic) |
Public Member Functions inherited from notify::Publisher | |
virtual | ~Publisher () |
virtual bool | Init () |
virtual bool | Finalize () |
Private Attributes | |
std::string | server_url_ |
Implementation of Publisher based on HTTP
Messages are published to the notification system backend using cURL
Definition at line 19 of file publisher_http.h.
|
explicit |
Definition at line 38 of file publisher_http.cc.
|
virtual |
Definition at line 41 of file publisher_http.cc.
|
virtual |
Publish a message with the specified topic
The message body and the message topic are given as strings
Implements notify::Publisher.
Definition at line 43 of file publisher_http.cc.
|
private |
Definition at line 27 of file publisher_http.h.
Referenced by Publish().