17#ifndef DAISI_MINHTON_NS3_MINHTON_PEER_DISCOVERY_REQUESTS_H_
18#define DAISI_MINHTON_NS3_MINHTON_PEER_DISCOVERY_REQUESTS_H_
22#include "manager/scenariofile_component.h"
23#include "peer_discovery_general.h"
25namespace daisi::minhton_ns3 {
32 std::variant<ConstantTime> threshold;
34 void parse(
const YAML::Node &node);
42 static std::string typeName() {
return "absolute"; }
46 void parse(
const YAML::Node &node);
50 static std::string typeName() {
return "random"; }
54 void parse(
const YAML::Node &node);
58 std::variant<RandomNode, Absolute> nodes;
60 void parse(
const YAML::Node &node);
68 static std::string typeName() {
return "static"; }
72 void parse(
const YAML::Node &node);
76 std::variant<Gaussian, StaticTime> frequency;
78 void parse(
const YAML::Node &node);
86 static std::string typeName() {
return "static"; }
90 void parse(
const YAML::Node &node);
94 std::variant<Uniform, Static> depth;
96 void parse(
const YAML::Node &node);
108 bool inquire_outdated;
109 bool inquire_unknown;
111 void parse(
const YAML::Node &node);
Definition peer_discovery_requests.h:41
Definition peer_discovery_requests.h:93
Definition peer_discovery_requests.h:75
Definition peer_discovery_requests.h:57
Definition peer_discovery_requests.h:49
Definition peer_discovery_requests.h:103
Definition peer_discovery_requests.h:67
Definition peer_discovery_requests.h:85
Definition peer_discovery_requests.h:31