CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
notify::Publisher Class Referenceabstract

#include <publisher.h>

Inheritance diagram for notify::Publisher:

Public Member Functions

virtual ~Publisher ()
 
virtual bool Init ()
 
virtual bool Publish (const std::string &msg, const std::string &topic)=0
 
virtual bool Finalize ()
 

Detailed Description

Base class for publishing to the notification system

Definition at line 15 of file publisher.h.

Constructor & Destructor Documentation

publish::Publisher::~Publisher ( )
virtual

Definition at line 13 of file publisher.cc.

Member Function Documentation

bool notify::Publisher::Finalize ( )
virtual

Perform (optional) finalization tasks after publishing the message

Definition at line 17 of file publisher.cc.

Referenced by notify::DoPublish().

Here is the caller graph for this function:

bool notify::Publisher::Init ( )
virtual

Perform (optional) initialization tasks before publishing

Definition at line 15 of file publisher.cc.

void publish::Publisher::Publish ( const std::string &  msg,
const std::string &  topic 
)
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 856 of file repository.cc.

Referenced by notify::DoPublish().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: