Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
blockinfo.hh
Go to the documentation of this file.
1 #pragma once
2 #include "message.hh"
3 #include <cstdint>
4 
5 namespace eclipse {
6 namespace messages {
7  struct BlockInfo: public Message {
8  std::string get_type() const override;
9 
10  std::string name;
11  std::string file_name;
12  unsigned int seq;
13  uint32_t hash_key;
14  uint64_t size;
15  unsigned int type;
16  int replica;
17  std::string node;
18  std::string l_node;
19  std::string r_node;
20  unsigned int is_committed;
21  std::string content;
22  };
23 }
24 }
std::string content
Definition: blockinfo.hh:21
std::string file_name
Definition: blockinfo.hh:11
std::string l_node
Definition: blockinfo.hh:18
std::string node
Definition: blockinfo.hh:17
std::string r_node
Definition: blockinfo.hh:19
std::string get_type() const override
Definition: blockinfo.cc:5
std::string name
Definition: blockinfo.hh:10
uint64_t size
Definition: blockinfo.hh:14
Definition: message.hh:15
unsigned int seq
Definition: blockinfo.hh:12
int replica
Definition: blockinfo.hh:16
Definition: blockinfo.hh:7
unsigned int is_committed
Definition: blockinfo.hh:20
unsigned int type
Definition: blockinfo.hh:15
uint32_t hash_key
Definition: blockinfo.hh:13