kodi
Public Types | Public Member Functions | List of all members
CZeroconfBrowser::ZeroconfService Class Reference

Public Types

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

Public Member Functions

 ZeroconfService (const std::string &fcr_name, const std::string &fcr_type, const std::string &fcr_domain)
 
void SetName (const std::string &fcr_name)
 general access methods
 
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)
 access methods needed during resolve
 
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 tTxtRecordMap & GetTxtRecords () const
 

Static Public Member Functions

static std::string toPath (const ZeroconfService &fcr_service)
 easy conversion to string and back (used in czeronfdiretory to store this service)
 
static ZeroconfService fromPath (const std::string &fcr_path)
 

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