7#ifndef MINHTON_NETWORK_FACADE_H_
8#define MINHTON_NETWORK_FACADE_H_
10#include "minhton/message/message.h"
11#include "minhton/message/types_all.h"
12#include "minhton/utils/serializer_cereal.h"
13#include "solanet/network_udp/network_udp.h"
21 NetworkFacade(std::function<
void(
const MessageVariant &msg)> recv_fct,
const std::string &ip);
22 void send(
const MessageVariant &msg);
24 std::string getIP()
const;
25 uint16_t getPort()
const;
33 std::function<void(
const MessageVariant &msg)> recv_fct_;
Definition network_facade.h:19
Definition serializer_cereal.h:23
Definition network_udp.h:18
Definition minhton_watchdog_ns3.cpp:24