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 )
40 const std::vector<std::string>&
servers()
const {
return m_servers; }
43 uint32_t m_registrationExpiry;
44 std::vector<std::string> m_servers;
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
Class that encapsulates information on Floating server settings.
std::shared_ptr< FloatingServerInfo > ptr_t
const std::vector< std::string > & servers() const
Getter method for server list.
FloatingServerInfo()
Default constructor, creates empty settings.
uint32_t registrationExpiry() const
Getter method for registration timeout.
FloatingServerInfo(uint32_t registrationExpiry, const std::vector< std::string > &serverList)
Constructs FloatingServerInfo with given data.