Removed Message Queue
Sending and receiving is now in one thread (gotta make them separate)
Created a very crude Plugin System
Renamed AllAndMe to AllAndServer
This commit is contained in:
TheDoctor
2019-10-15 16:27:16 +01:00
parent 32473472e4
commit c50d40341f
48 changed files with 321 additions and 334 deletions

View File

@ -1,14 +1,13 @@
#pragma once
#include <Net.hpp>
#include <VoidNet/Net.hpp>
#include <memory>
namespace std::net
{
class TcpServer;
class MessageQueue;
class Plugin;
class Server
{
@ -18,6 +17,8 @@ namespace std::net
void Start();
void Stop();
void AddPlugin(Plugin* plugin);
private:
std::shared_ptr<std::net::TcpServer> m_tcpServer;
};