CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
subscriber_supervisor.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_NOTIFY_SUBSCRIBER_SUPERVISOR_H_
6 #define CVMFS_NOTIFY_SUBSCRIBER_SUPERVISOR_H_
7 
8 #include <string>
9 
10 #include "supervisor.h"
11 
12 namespace notify {
13 
14 class Subscriber;
15 
20  public:
21  SubscriberSupervisor(notify::Subscriber* s, std::string t, int max_retries,
22  uint64_t interval);
23  virtual ~SubscriberSupervisor();
24 
25  virtual bool Task();
26 
27  private:
29  std::string topic_;
30 };
31 
32 } // namespace notify
33 
34 #endif // CVMFS_NOTIFY_SUBSCRIBER_SUPERVISOR_H_
SubscriberSupervisor(notify::Subscriber *s, std::string t, int max_retries, uint64_t interval)