CernVM-FS
2.12.0
|
#include <messages.h>
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 Attributes | |
int | version_ |
std::string | timestamp_ |
std::string | repository_ |
std::string | manifest_ |
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.
notify::msg::Activity::Activity | ( | ) |
Definition at line 26 of file messages.cc.
|
virtual |
Definition at line 28 of file messages.cc.
|
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().
bool notify::msg::Activity::operator== | ( | const Activity & | other | ) | const |
Definition at line 30 of file messages.cc.
|
virtual |
Implements notify::msg::Message.
Definition at line 37 of file messages.cc.
Referenced by notify::DoPublish().
std::string notify::msg::Activity::manifest_ |
Definition at line 49 of file messages.h.
Referenced by anonymous_namespace{notification_client.cc}::ActivitySubscriber::Consume(), anonymous_namespace{cmd_sub.cc}::SwissknifeSubscriber::Consume(), notify::DoPublish(), FromJSONString(), operator==(), and ToJSONString().
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().