#pragma once #include #include #include "iserviceobject.hpp" #include "servicesession.hpp" template class ServiceSession; template class ServiceServer { static_assert(std::is_base_of::value, "Service Objects must derive from IServiceObject"); Handle port_handle; unsigned int max_sessions; ServiceSession **sessions; public: ServiceServer(const char *service_name, unsigned int max_s); ~ServiceServer(); Result process(); };