cpp_redis  4.0.0
cpp_redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.
Public Member Functions | Private Attributes | List of all members
cpp_redis::sentinel::sentinel_def Class Reference

Public Member Functions

 sentinel_def (const std::string &host, std::size_t port)
 ctor More...
 
 ~sentinel_def (void)=default
 dtor More...
 
const std::string & get_host (void) const
 
size_t get_port (void) const
 

Private Attributes

std::string m_host
 
std::size_t m_port
 

Constructor & Destructor Documentation

◆ sentinel_def()

cpp_redis::sentinel::sentinel_def::sentinel_def ( const std::string &  host,
std::size_t  port 
)
inline

ctor

◆ ~sentinel_def()

cpp_redis::sentinel::sentinel_def::~sentinel_def ( void  )
default

dtor

Member Function Documentation

◆ get_host()

const std::string& cpp_redis::sentinel::sentinel_def::get_host ( void  ) const
inline
Returns
sentinel host

◆ get_port()

size_t cpp_redis::sentinel::sentinel_def::get_port ( void  ) const
inline
Returns
sentinel port

Member Data Documentation

◆ m_host

std::string cpp_redis::sentinel::sentinel_def::m_host
private

sentinel host

◆ m_port

std::size_t cpp_redis::sentinel::sentinel_def::m_port
private

sentinel port


The documentation for this class was generated from the following file: