31 WinnerResponse(std::string task_uuid, std::string participant_connection,
bool accept)
32 : task_uuid_(std::move(task_uuid)),
33 participant_connection_(std::move(participant_connection)),
36 const std::string &getTaskUuid()
const {
return task_uuid_; }
38 const std::string &getParticipantConnection()
const {
return participant_connection_; }
40 bool doesAccept()
const {
return accept_; }
42 solanet::UUID getUUID()
const {
return uuid_; }
44 SERIALIZE(uuid_, task_uuid_, accept_, participant_connection_);
47 solanet::UUID uuid_ = solanet::generateUUID();
49 std::string task_uuid_;
51 std::string participant_connection_;