CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{notification_client.cc}::ActivitySubscriber Class Reference
Inheritance diagram for anonymous_namespace{notification_client.cc}::ActivitySubscriber:
Collaboration diagram for anonymous_namespace{notification_client.cc}::ActivitySubscriber:

Public Member Functions

 ActivitySubscriber (const std::string &server_url, FuseRemounter *remounter, download::DownloadManager *dl_mgr, signature::SignatureManager *sig_mgr)
 
virtual ~ActivitySubscriber ()
 
virtual notify::Subscriber::Status Consume (const std::string &repo_name, const std::string &msg_text)
 
- Public Member Functions inherited from notify::SubscriberSSE
 SubscriberSSE (const std::string &server_url)
 
virtual ~SubscriberSSE ()
 
virtual bool Subscribe (const std::string &topic)
 
virtual void Unsubscribe ()
 
- Public Member Functions inherited from notify::Subscriber
 Subscriber ()
 
virtual ~Subscriber ()
 

Private Attributes

FuseRemounterremounter_
 
download::DownloadManagerdl_mgr_
 
signature::SignatureManagersig_mgr_
 

Additional Inherited Members

- Public Types inherited from notify::Subscriber
enum  Status { kContinue, kFinish, kError }
 

Detailed Description

Definition at line 29 of file notification_client.cc.

Constructor & Destructor Documentation

anonymous_namespace{notification_client.cc}::ActivitySubscriber::ActivitySubscriber ( const std::string &  server_url,
FuseRemounter remounter,
download::DownloadManager dl_mgr,
signature::SignatureManager sig_mgr 
)
inline

Definition at line 31 of file notification_client.cc.

virtual anonymous_namespace{notification_client.cc}::ActivitySubscriber::~ActivitySubscriber ( )
inlinevirtual

Definition at line 39 of file notification_client.cc.

Member Function Documentation

virtual notify::Subscriber::Status anonymous_namespace{notification_client.cc}::ActivitySubscriber::Consume ( const std::string &  topic,
const std::string &  msg_text 
)
inlinevirtual

Consume a message

Consume the message and return the status value that can be used to exit the subscription loop.

Implements notify::Subscriber.

Definition at line 41 of file notification_client.cc.

Here is the call graph for this function:

Member Data Documentation

download::DownloadManager* anonymous_namespace{notification_client.cc}::ActivitySubscriber::dl_mgr_
private

Definition at line 103 of file notification_client.cc.

FuseRemounter* anonymous_namespace{notification_client.cc}::ActivitySubscriber::remounter_
private

Definition at line 102 of file notification_client.cc.

signature::SignatureManager* anonymous_namespace{notification_client.cc}::ActivitySubscriber::sig_mgr_
private

Definition at line 104 of file notification_client.cc.


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