wip
This commit is contained in:
1 parent
0dfda6f481
commit
9fac304771
9 files changed
+116
-51
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user