![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <ZeroconfMDNS.h>
Public Member Functions | |
CZeroconfMDNS () | |
~CZeroconfMDNS () | |
![]() | |
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 More... | |
bool | Start () |
void | Stop () |
bool | IsStarted () |
![]() | |
CThread (IRunnable *pRunnable, const char *ThreadName) | |
virtual | ~CThread () |
void | Create (bool bAutoDelete=false, unsigned stacksize=0) |
void | Sleep (unsigned int milliseconds) |
int | GetSchedRRPriority (void) |
bool | SetPrioritySched_RR (int iPriority) |
bool | IsAutoDelete () const |
virtual void | StopThread (bool bWait=true) |
bool | IsRunning () const |
bool | IsCurrentThread () const |
int | GetMinPriority (void) |
int | GetMaxPriority (void) |
int | GetNormalPriority (void) |
int | GetPriority (void) |
bool | SetPriority (const int iPriority) |
bool | WaitForThreadExit (unsigned int milliseconds) |
float | GetRelativeUsage () |
int64_t | GetAbsoluteUsage () |
virtual void | OnException () |
Protected Member Functions | |
void | Process () |
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) |
bool | doForceReAnnounceService (const std::string &fcr_identifier) |
bool | doRemoveService (const std::string &fcr_ident) |
virtual void | doStop () |
bool | IsZCdaemonRunning () |
void | ProcessResults () |
![]() | |
CZeroconf () | |
CZeroconf (const CZeroconf &) | |
virtual | ~CZeroconf () |
![]() | |
CThread (const char *ThreadName) | |
virtual void | OnStartup () |
virtual void | OnExit () |
WaitResponse | AbortableWait (CEvent &event, int timeoutMillis=-1) |
Additional Inherited Members | |
![]() | |
static CZeroconf * | GetInstance () |
static void | ReleaseInstance () |
static bool | IsInstantiated () |
![]() | |
static bool | IsCurrentThread (const ThreadIdentifier tid) |
static ThreadIdentifier | GetCurrentThreadId () |
static ThreadIdentifier | GetDisplayThreadId (const ThreadIdentifier tid) |
static CThread * | GetCurrentThread () |
![]() | |
enum | WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 } |
![]() | |
std::atomic< bool > | m_bStop |
CZeroconfMDNS::CZeroconfMDNS | ( | ) |
CZeroconfMDNS::~CZeroconfMDNS | ( | ) |
|
protectedvirtual |
Implements CZeroconf.
|
protectedvirtual |
HAS_MDNS_EMBEDDED
Implements CZeroconf.
|
protectedvirtual |
Implements CZeroconf.
|
protectedvirtual |
HAS_MDNS_EMBEDDED
Reimplemented from CZeroconf.