#ifndef __ISERVERS__H__ #define __ISERVERS__H__ #include #include class IServers { public: struct MasterInfo { std::string ip; uint32_t port{}; }; // Set the master server ip and port. virtual void SetMasterIp(const std::string_view ip, const uint32_t port) = 0; // Get the master server info. virtual std::optional GetMasterInfo() = 0; }; #endif //!__ISERVERS__H__