Distributed Cache
gossip_artifact.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <buffer.h>
5 
7  public:
8  virtual std::string getType() const = 0;
9  virtual Buffer getPayload() const = 0;
10  virtual void update(Buffer data) = 0;
11  virtual void loop(long timestamp) = 0;
13 };
GossipArtifact::getPayload
virtual Buffer getPayload() const =0
GossipArtifact::loop
virtual void loop(long timestamp)=0
GossipArtifact::getType
virtual std::string getType() const =0
GossipArtifact
Definition: gossip_artifact.h:6
Buffer
Definition: buffer.h:5
GossipArtifact::GossipArtifact
GossipArtifact()
Definition: gossip_artifact.h:12
buffer.h
GossipArtifact::update
virtual void update(Buffer data)=0