22 void process(
const MessageVariant &msg)
override = 0;
23 virtual void waitForAcks(uint32_t number, std::function<
void()> cb) = 0;
27 static std::vector<minhton::MessageType> getSupportedMessageTypes() {
29 MessageType::kUpdateNeighbors, MessageType::kGetNeighbors,
30 MessageType::kRemoveNeighbor, MessageType::kInformAboutNeighbors,
31 MessageType::kRemoveAndUpdateNeighbor, MessageType::kRemoveNeighborAck,
37 std::function<void()> cb_;