1 #ifndef LS_FLOATING_SERVER_INFO_H
2 #define LS_FLOATING_SERVER_INFO_H
6 #pragma warning( push )
7 #pragma warning( disable : 4251 )
15 namespace LicenseSpring
22 using ptr_t = std::shared_ptr<FloatingServerInfo>;
31 : m_registrationExpiry( registrationExpiry ), m_servers( serverList )
40 const std::vector<std::string>&
servers()
const {
return m_servers; }
43 uint32_t m_registrationExpiry;
44 std::vector<std::string> m_servers;
49 #pragma warning( pop )
52 #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
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...