36 util::Position position, std::string participant_connection)
37 : task_uuid_(std::move(task_uuid)),
40 end_position_(position),
41 participant_connection_(std::move(participant_connection)) {}
43 const std::string &getTaskUuid()
const {
return task_uuid_; }
45 const std::string &getParticipantConnection()
const {
return participant_connection_; }
47 bool doesAccept()
const {
return accept_; }
49 solanet::UUID getUUID()
const {
return uuid_; }
51 SERIALIZE(uuid_, task_uuid_, accept_, metrics_, end_position_, participant_connection_);
54 solanet::UUID uuid_ = solanet::generateUUID();
56 std::string task_uuid_;
61 util::Position end_position_;
63 std::string participant_connection_;