CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
notify::SubscriberSupervisor Class Reference

#include <subscriber_supervisor.h>

Inheritance diagram for notify::SubscriberSupervisor:
Collaboration diagram for notify::SubscriberSupervisor:

Public Member Functions

 SubscriberSupervisor (notify::Subscriber *s, std::string t, int max_retries, uint64_t interval)
 
virtual ~SubscriberSupervisor ()
 
virtual bool Task ()
 
- Public Member Functions inherited from Supervisor
 Supervisor (uint64_t max_retries, uint64_t interval_sec)
 
virtual ~Supervisor ()
 
bool Run ()
 

Private Attributes

notify::Subscribersubscriber_
 
std::string topic_
 

Detailed Description

Supervise the subscription to the notification system backend

Definition at line 19 of file subscriber_supervisor.h.

Constructor & Destructor Documentation

notify::SubscriberSupervisor::SubscriberSupervisor ( notify::Subscriber s,
std::string  t,
int  max_retries,
uint64_t  interval 
)

Definition at line 19 of file subscriber_supervisor.cc.

notify::SubscriberSupervisor::~SubscriberSupervisor ( )
virtual

Definition at line 23 of file subscriber_supervisor.cc.

Member Function Documentation

bool notify::SubscriberSupervisor::Task ( )
virtual

Implements Supervisor.

Definition at line 25 of file subscriber_supervisor.cc.

Here is the call graph for this function:

Member Data Documentation

notify::Subscriber* notify::SubscriberSupervisor::subscriber_
private

Definition at line 28 of file subscriber_supervisor.h.

Referenced by Task().

std::string notify::SubscriberSupervisor::topic_
private

Definition at line 29 of file subscriber_supervisor.h.

Referenced by Task().


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