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

#include <ZeroconfAvahi.h>

Inheritance diagram for CZeroconfAvahi:
CZeroconf

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)
 
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 ()
 
 CZeroconf (const CZeroconf &)
 
virtual ~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?

Member Function Documentation

◆ doForceReAnnounceService()

bool CZeroconfAvahi::doForceReAnnounceService ( const std::string & fcr_identifier)
overrideprotectedvirtual

Implements CZeroconf.

◆ doPublishService()

bool CZeroconfAvahi::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 )
overrideprotectedvirtual

Implements CZeroconf.

◆ doRemoveService()

bool CZeroconfAvahi::doRemoveService ( const std::string & fcr_ident)
overrideprotectedvirtual

Implements CZeroconf.

◆ doStop()

void CZeroconfAvahi::doStop ( )
overrideprotectedvirtual

Implements CZeroconf.


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