#pragma once #include #include #include "Socket.h" #include "UnixSocketInterface.h" class NetworkManager { std::vector mActiveSockets; UnixSocketInterfacePtr mSocketInterface; public: NetworkManager(); ~NetworkManager(); static std::shared_ptr Create(); void Initialize(); void OpenSocket(SocketPtr socket); void CloseSocket(SocketPtr socket); void RunHttpServer(); void ShutDown(); }; using NetworkManagerPtr = std::shared_ptr;