This commit is contained in:
Suraxius committed 2021-01-09 01:37:05 +01:00
1 parent 0dfda6f481
commit 9fac304771
9 files changed
+116 -51

No files matched your search

+17 -2
View File
@@ -1,23 +1,38 @@
#ifndef SERVER_HPP
#define SERVER_HPP
#include "asio.hpp"
#include "Core.hpp"
#include <cstdlib>
namespace Plains {
namespace Resolver {
using Core::EventBus;
using Core::Logger;
using asio::ip::udp;
class Server
{
const EventBus& eventBus;
const Logger& logger;
private:
EventBus& eventBus;
Logger& logger;
asio::io_context io_context;
public:
Server(Logger& logger, EventBus& eventBus);
~Server();
};
}}
#endif