#pragma once #include #include "iserver.hpp" template class ExistingPortServer : public IServer { private: virtual Result register_self(const char *service_name) { return 0; } public: ExistingPortServer(Handle port_h, unsigned int max_s) : IServer(NULL, max_s) { this->port_handle = port_h; } };