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

#include <ZeroconfBrowser.h>

Public Types

typedef std::map< std::string, std::string > tTxtRecordMap
 

Public Member Functions

 ZeroconfService ()=default
 
 ZeroconfService (const std::string &fcr_name, const std::string &fcr_type, const std::string &fcr_domain)
 
void SetName (const std::string &fcr_name)
 
const std::string & GetName () const
 
void SetType (const std::string &fcr_type)
 
const std::string & GetType () const
 
void SetDomain (const std::string &fcr_domain)
 
const std::string & GetDomain () const
 
void SetIP (const std::string &fcr_ip)
 
const std::string & GetIP () const
 
void SetHostname (const std::string &fcr_hostname)
 
const std::string & GetHostname () const
 
void SetPort (int f_port)
 
int GetPort () const
 
void SetTxtRecords (const tTxtRecordMap &txt_records)
 
const tTxtRecordMapGetTxtRecords () const
 

Static Public Member Functions

static std::string toPath (const ZeroconfService &fcr_service)
 
static ZeroconfService fromPath (const std::string &fcr_path)
 

Member Typedef Documentation

◆ tTxtRecordMap

std::map<std::string, std::string> CZeroconfBrowser::ZeroconfService::tTxtRecordMap

Constructor & Destructor Documentation

◆ ZeroconfService() [1/2]

CZeroconfBrowser::ZeroconfService::ZeroconfService ( )
default

◆ ZeroconfService() [2/2]

CZeroconfBrowser::ZeroconfService::ZeroconfService ( const std::string & fcr_name,
const std::string & fcr_type,
const std::string & fcr_domain )

Member Function Documentation

◆ fromPath()

CZeroconfBrowser::ZeroconfService CZeroconfBrowser::ZeroconfService::fromPath ( const std::string & fcr_path)
static

◆ GetDomain()

const std::string & CZeroconfBrowser::ZeroconfService::GetDomain ( ) const
inline

◆ GetHostname()

const std::string & CZeroconfBrowser::ZeroconfService::GetHostname ( ) const
inline

◆ GetIP()

const std::string & CZeroconfBrowser::ZeroconfService::GetIP ( ) const
inline

◆ GetName()

const std::string & CZeroconfBrowser::ZeroconfService::GetName ( ) const
inline

◆ GetPort()

int CZeroconfBrowser::ZeroconfService::GetPort ( ) const
inline

◆ GetTxtRecords()

const tTxtRecordMap & CZeroconfBrowser::ZeroconfService::GetTxtRecords ( ) const
inline

◆ GetType()

const std::string & CZeroconfBrowser::ZeroconfService::GetType ( ) const
inline

◆ SetDomain()

void CZeroconfBrowser::ZeroconfService::SetDomain ( const std::string & fcr_domain)

◆ SetHostname()

void CZeroconfBrowser::ZeroconfService::SetHostname ( const std::string & fcr_hostname)

◆ SetIP()

void CZeroconfBrowser::ZeroconfService::SetIP ( const std::string & fcr_ip)

access methods needed during resolve

◆ SetName()

void CZeroconfBrowser::ZeroconfService::SetName ( const std::string & fcr_name)

general access methods

◆ SetPort()

void CZeroconfBrowser::ZeroconfService::SetPort ( int f_port)

◆ SetTxtRecords()

void CZeroconfBrowser::ZeroconfService::SetTxtRecords ( const tTxtRecordMap & txt_records)

◆ SetType()

void CZeroconfBrowser::ZeroconfService::SetType ( const std::string & fcr_type)

◆ toPath()

std::string CZeroconfBrowser::ZeroconfService::toPath ( const ZeroconfService & fcr_service)
static

easy conversion to string and back (used in czeronfdiretory to store this service)


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