1 #ifndef LS_FLOATING_SERVER_INFO_H 2 #define LS_FLOATING_SERVER_INFO_H 7 #pragma warning(disable : 4251) 22 using ptr_t = std::shared_ptr<FloatingServerInfo>;
31 : m_registrationExpiry(registrationExpiry), m_servers(serverList)
41 const std::vector<std::string> &
servers()
const {
return m_servers; }
44 uint32_t m_registrationExpiry;
45 std::vector<std::string> m_servers;
53 #endif // LS_FLOATING_SERVER_INFO_H
FloatingServerInfo(uint32_t registrationExpiry, const std::vector< std::string > &serverList)
Constructs FloatingServerInfo with given data.
Class that encapsulates information on Floating server settings.
FloatingServerInfo()
Default constructor, creates empty settings.
uint32_t registrationExpiry() const
Getter method for registration timeout.
const std::vector< std::string > & servers() const
Getter method for server list.
std::shared_ptr< FloatingServerInfo > ptr_t