Distributed Cache
src
headers
gossip_artifact.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <
buffer.h
>
5
6
class
GossipArtifact
{
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;
12
GossipArtifact
() {}
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
Generated by
1.8.18