-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from DICL/connecting-dfsrm
Connecting dfsrm
- Loading branch information
Showing
12 changed files
with
282 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "blockdel.hh" | ||
namespace eclipse { | ||
namespace messages { | ||
std::string BlockDel::get_type() const { return "BlockDel"; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
#include "message.hh" | ||
|
||
namespace eclipse { | ||
namespace messages { | ||
|
||
struct BlockDel: public Message { | ||
std::string get_type() const override; | ||
|
||
//uint32_t file_id; | ||
std::string file_name; | ||
unsigned int block_seq; | ||
//uint32_t block_hash_key; | ||
std::string block_name; | ||
//uint32_t block_size; | ||
//unsigned int is_inter; | ||
//std::string node; | ||
//std::string l_node; | ||
//std::string r_node; | ||
//unsigned int is_commit; | ||
//std::string content; | ||
}; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "filedel.hh" | ||
|
||
namespace eclipse { | ||
namespace messages { | ||
std::string FileDel::get_type() const { return "FileDel"; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
|
||
#include "message.hh" | ||
|
||
namespace eclipse { | ||
namespace messages { | ||
|
||
struct FileDel: public Message { | ||
FileDel() = default; | ||
~FileDel() = default; | ||
|
||
std::string get_type() const override; | ||
|
||
std::string file_name; | ||
//uint32_t file_id; | ||
//uint32_t file_hash_key; | ||
//uint64_t file_size; | ||
//unsigned int num_block; | ||
//unsigned int replica; | ||
}; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.