7#ifndef MINHTON_ALGORITHMS_JOIN_JOIN_ALGORITHM_INTERFACE_H_
8#define MINHTON_ALGORITHMS_JOIN_JOIN_ALGORITHM_INTERFACE_H_
12#include "minhton/algorithms/algorithm_interface.h"
13#include "minhton/core/physical_node_info.h"
14#include "minhton/message/message.h"
25 void process(
const MessageVariant &msg)
override = 0;
26 virtual void initiateJoin(
NodeInfo &node_info) = 0;
32 static std::vector<MessageType> getSupportedMessageTypes() {
33 return {MessageType::kJoin, MessageType::kJoinAccept, MessageType::kJoinAcceptAck};
Definition algorithm_interface.h:18
Definition interface_join_algorithm.h:18
Definition node_info.h:24
Definition physical_node_info.h:23
Definition minhton_watchdog_ns3.cpp:24