CernVM-FS
2.12.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
notification_client.h
Go to the documentation of this file.
1
5
#ifndef CVMFS_NOTIFICATION_CLIENT_H_
6
#define CVMFS_NOTIFICATION_CLIENT_H_
7
8
#include <string>
9
10
#include "
fuse_remount.h
"
11
#include "
network/download.h
"
12
#include "
notify/subscriber.h
"
13
#include "
util/pointer.h
"
14
#include "
util/single_copy.h
"
15
16
namespace
signature {
17
class
SignatureManager;
18
}
19
33
class
NotificationClient
:
public
SingleCopy
{
34
public
:
35
NotificationClient
(
const
std::string& config,
const
std::string& repo_name,
36
FuseRemounter
* remounter,
37
download::DownloadManager
* dl_mgr,
38
signature::SignatureManager
* sig_mgr);
39
virtual
~NotificationClient
();
40
41
void
Spawn
();
42
43
private
:
44
static
void
*
Run
(
void
* instance);
45
46
std::string
config_
;
47
std::string
repo_name_
;
48
FuseRemounter
*
remounter_
;
49
download::DownloadManager
*
dl_mgr_
;
50
signature::SignatureManager
*
sig_mgr_
;
51
UniquePtr<notify::Subscriber>
subscriber_
;
52
pthread_t
thread_
;
53
bool
spawned_
;
54
};
55
56
#endif // CVMFS_NOTIFICATION_CLIENT_H_
signature::SignatureManager
Definition:
signature.h:29
NotificationClient::repo_name_
std::string repo_name_
Definition:
notification_client.h:47
NotificationClient::NotificationClient
NotificationClient(const std::string &config, const std::string &repo_name, FuseRemounter *remounter, download::DownloadManager *dl_mgr, signature::SignatureManager *sig_mgr)
Definition:
notification_client.cc:109
FuseRemounter
Definition:
fuse_remount.h:38
subscriber.h
download.h
UniquePtr< notify::Subscriber >
NotificationClient::~NotificationClient
virtual ~NotificationClient()
Definition:
notification_client.cc:123
NotificationClient
Definition:
notification_client.h:33
NotificationClient::Run
static void * Run(void *instance)
Definition:
notification_client.cc:143
fuse_remount.h
SingleCopy
Definition:
single_copy.h:16
NotificationClient::sig_mgr_
signature::SignatureManager * sig_mgr_
Definition:
notification_client.h:50
NotificationClient::spawned_
bool spawned_
Definition:
notification_client.h:53
download::DownloadManager
Definition:
download.h:119
NotificationClient::remounter_
FuseRemounter * remounter_
Definition:
notification_client.h:48
NotificationClient::Spawn
void Spawn()
Definition:
notification_client.cc:133
single_copy.h
NotificationClient::dl_mgr_
download::DownloadManager * dl_mgr_
Definition:
notification_client.h:49
NotificationClient::config_
std::string config_
Definition:
notification_client.h:46
NotificationClient::subscriber_
UniquePtr< notify::Subscriber > subscriber_
Definition:
notification_client.h:51
pointer.h
NotificationClient::thread_
pthread_t thread_
Definition:
notification_client.h:52
cvmfs
cvmfs
notification_client.h
Generated on Sun Dec 1 2024 01:18:12 for CernVM-FS by
1.8.5