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

Namespaces

 msg
 

Classes

class  Publisher
 
class  PublisherHTTP
 
class  Subscriber
 
class  SubscriberSSE
 
class  SubscriberSupervisor
 

Functions

int DoPublish (const std::string &server_url, const std::string &repository_url, bool verbose)
 
int DoSubscribe (const std::string &server_url, const std::string &repo, uint64_t min_revision, bool continuous, bool verbose)
 

Detailed Description

This file is part of the CernVM File System.

Function Documentation

int notify::DoPublish ( const std::string &  server_url,
const std::string &  repository_url,
bool  verbose 
)

Encapsulates a publish operation to a notification server

Publish the manifest of a CernVM-FS repository located at "repository_url" to a CernVM-FS notification server located at "server_url"

Definition at line 33 of file cmd_pub.cc.

Referenced by swissknife::CommandNotify::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

int notify::DoSubscribe ( const std::string &  server_url,
const std::string &  repo,
uint64_t  min_revision,
bool  continuous,
bool  verbose 
)

Encapsulates a subscription operation to a notification server

Subscribe to messages concerning "repo" (the fully-qualified domain name of a CernVM-FS repository) from the CernVM-FS notification server located at "server_url". Only messages with revision number >= "min_revision" will be delivered. Setting "continuous" to false will cancel the subscription after the first message is delivered.

Definition at line 149 of file cmd_sub.cc.

Referenced by swissknife::CommandNotify::Main().

Here is the call graph for this function:

Here is the caller graph for this function: