CernVM-FS
2.12.0
|
#include <publisher.h>
Public Member Functions | |
virtual | ~Publisher () |
virtual bool | Init () |
virtual bool | Publish (const std::string &msg, const std::string &topic)=0 |
virtual bool | Finalize () |
Base class for publishing to the notification system
Definition at line 15 of file publisher.h.
|
virtual |
Definition at line 13 of file publisher.cc.
|
virtual |
Perform (optional) finalization tasks after publishing the message
Definition at line 17 of file publisher.cc.
Referenced by notify::DoPublish().
|
virtual |
Perform (optional) initialization tasks before publishing
Definition at line 15 of file publisher.cc.
|
pure virtual |
Publish a message with the specified topic
The message body and the message topic are given as strings
Implemented in notify::PublisherHTTP.
Definition at line 821 of file repository.cc.
Referenced by notify::DoPublish().