Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDNSNameCache Class Reference

#include <DNSNameCache.h>

Classes

class  CDNSName
 

Public Member Functions

 CDNSNameCache (void)
 
virtual ~CDNSNameCache (void)
 

Static Public Member Functions

static void Add (const std::string &strHostName, const std::string &strIpAddress)
 
static bool GetCached (const std::string &strHostName, std::string &strIpAddress)
 
static bool Lookup (const std::string &strHostName, std::string &strIpAddress)
 

Protected Attributes

std::vector< CDNSNamem_vecDNSNames
 

Static Protected Attributes

static CCriticalSection m_critical
 

Constructor & Destructor Documentation

◆ CDNSNameCache()

CDNSNameCache::CDNSNameCache ( void )
default

◆ ~CDNSNameCache()

CDNSNameCache::~CDNSNameCache ( void )
virtualdefault

Member Function Documentation

◆ Add()

void CDNSNameCache::Add ( const std::string & strHostName,
const std::string & strIpAddress )
static

◆ GetCached()

bool CDNSNameCache::GetCached ( const std::string & strHostName,
std::string & strIpAddress )
static

◆ Lookup()

bool CDNSNameCache::Lookup ( const std::string & strHostName,
std::string & strIpAddress )
static

Member Data Documentation

◆ m_critical

CCriticalSection CDNSNameCache::m_critical
staticprotected

◆ m_vecDNSNames

std::vector<CDNSName> CDNSNameCache::m_vecDNSNames
protected

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