10#ifndef SNBMODULES_INCLUDE_SNBMODULES_GROUP_METADATA_HPP_
11#define SNBMODULES_INCLUDE_SNBMODULES_GROUP_METADATA_HPP_
43 if (transfer->get_status() > status) {
44 status = transfer->get_status();
58 const nlohmann::json& protocol_options = nlohmann::json(),
59 const std::vector<std::shared_ptr<TransferMetadata>>& transfers_meta =
60 std::vector<std::shared_ptr<TransferMetadata>>())
72 explicit GroupMetadata(
const std::filesystem::path& src,
bool is_path =
true)
118 std::string file_path_str = file.string();
119 std::string x =
"./";
123 pos = file_path_str.find(x, pos);
124 if (pos == std::string::npos) {
128 file_path_str.replace(pos, x.length(),
"");
Monitoring thread not set
e_protocol_type
Different type of protocols available for communication.
e_status
Different type of session status Need to be sorted by priority (highest last)
@ PREPARING
waiting for the transfer to start, can be waiting to receive expected files metadata