kodi
Classes | Public Member Functions | Protected Member Functions | List of all members
CZeroconfAvahi Class Reference
Inheritance diagram for CZeroconfAvahi:
Inheritance graph
[legend]
Collaboration diagram for CZeroconfAvahi:
Collaboration graph
[legend]

Classes

struct  ServiceInfo
 helper to store information on howto create an avahi-group to publish More...
 

Public Member Functions

 CZeroconfAvahi ()
 
 ~CZeroconfAvahi () override
 
- Public Member Functions inherited from CZeroconf
bool PublishService (const std::string &fcr_identifier, const std::string &fcr_type, const std::string &fcr_name, unsigned int f_port, std::vector< std::pair< std::string, std::string > > txt)
 
bool ForceReAnnounceService (const std::string &fcr_identifier)
 
bool RemoveService (const std::string &fcr_identifier)
 removes the specified service returns false if fcr_identifier does not exist
 
bool HasService (const std::string &fcr_identifier) const
 returns true if fcr_identifier exists
 
bool Start ()
 
void Stop ()
 
virtual void ProcessResults ()
 
bool IsStarted ()
 

Protected Member Functions

bool doPublishService (const std::string &fcr_identifier, const std::string &fcr_type, const std::string &fcr_name, unsigned int f_port, const std::vector< std::pair< std::string, std::string > > &txt) override
 
bool doForceReAnnounceService (const std::string &fcr_identifier) override
 
bool doRemoveService (const std::string &fcr_ident) override
 
void doStop () override
 
- Protected Member Functions inherited from CZeroconf
virtual bool IsZCdaemonRunning ()
 
 CZeroconf (const CZeroconf &)
 

Additional Inherited Members

- Static Public Member Functions inherited from CZeroconf
static CZeroconfGetInstance ()
 
static void ReleaseInstance ()
 
static bool IsInstantiated ()
 

Constructor & Destructor Documentation

◆ CZeroconfAvahi()

CZeroconfAvahi::CZeroconfAvahi ( )
Todo:
throw exception?

◆ ~CZeroconfAvahi()

CZeroconfAvahi::~CZeroconfAvahi ( )
override
Todo:
does tv survive the thread?

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