CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
notify::msg::Activity Class Reference

#include <messages.h>

Inheritance diagram for notify::msg::Activity:
Collaboration diagram for notify::msg::Activity:

Public Member Functions

 Activity ()
 
virtual ~Activity ()
 
bool operator== (const Activity &other) const
 
virtual void ToJSONString (std::string *s)
 
virtual bool FromJSONString (const std::string &s)
 
- Public Member Functions inherited from notify::msg::Message
virtual ~Message ()
 

Public Attributes

int version_
 
std::string timestamp_
 
std::string repository_
 
std::string manifest_
 

Detailed Description

Activity notification

The activity message informs about the current revision of a repository. It contains a timestamp, repository name and the repository manifest.

Definition at line 36 of file messages.h.

Constructor & Destructor Documentation

notify::msg::Activity::Activity ( )

Definition at line 26 of file messages.cc.

notify::msg::Activity::~Activity ( )
virtual

Definition at line 28 of file messages.cc.

Member Function Documentation

bool notify::msg::Activity::FromJSONString ( const std::string &  s)
virtual

Implements notify::msg::Message.

Definition at line 45 of file messages.cc.

Referenced by anonymous_namespace{notification_client.cc}::ActivitySubscriber::Consume(), and anonymous_namespace{cmd_sub.cc}::SwissknifeSubscriber::Consume().

Here is the call graph for this function:

Here is the caller graph for this function:

bool notify::msg::Activity::operator== ( const Activity other) const

Definition at line 30 of file messages.cc.

void notify::msg::Activity::ToJSONString ( std::string *  s)
virtual

Implements notify::msg::Message.

Definition at line 37 of file messages.cc.

Referenced by notify::DoPublish().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string notify::msg::Activity::repository_

Definition at line 48 of file messages.h.

Referenced by notify::DoPublish(), FromJSONString(), operator==(), and ToJSONString().

std::string notify::msg::Activity::timestamp_

Definition at line 47 of file messages.h.

Referenced by notify::DoPublish(), FromJSONString(), operator==(), and ToJSONString().

int notify::msg::Activity::version_

Definition at line 46 of file messages.h.

Referenced by notify::DoPublish(), FromJSONString(), operator==(), and ToJSONString().


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