|
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 (const CZeroconf &) |
|
| CThread (const char *ThreadName) |
|
virtual void | OnStartup () |
|
virtual void | OnExit () |
|
WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
| This call will wait on a CEvent in an interruptible way such that if stop is called on the thread the wait will return with a response indicating what happened.
|
|
|
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 () |
|
bool | IsStarted () |
|
| CThread (IRunnable *pRunnable, const char *ThreadName) |
|
void | Create (bool bAutoDelete=false) |
|
template<typename Rep , typename Period > |
void | Sleep (std::chrono::duration< Rep, Period > duration) |
|
bool | IsAutoDelete () const |
|
virtual void | StopThread (bool bWait=true) |
|
bool | IsRunning () const |
|
bool | IsCurrentThread () const |
|
bool | Join (std::chrono::milliseconds duration) |
|
bool | SetPriority (const ThreadPriority &priority) |
| Set the threads priority. This uses the platforms native threading library to do so.
|
|
virtual void | OnException () |
|
static CZeroconf * | GetInstance () |
|
static void | ReleaseInstance () |
|
static bool | IsInstantiated () |
|
static const std::thread::id | GetCurrentThreadId () |
|
static CThread * | GetCurrentThread () |
|
enum | WaitResponse { WAIT_INTERRUPTED = -1,
WAIT_SIGNALED = 0,
WAIT_TIMEDOUT = 1
} |
|
std::atomic< bool > | m_bStop |
|
◆ doPublishService()
bool CZeroconfMDNS::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 |
|
) |
| |
|
protectedvirtual |
◆ IsZCdaemonRunning()
bool CZeroconfMDNS::IsZCdaemonRunning |
( |
| ) |
|
|
protectedvirtual |
HAS_MDNS_EMBEDDED
Reimplemented from CZeroconf.
The documentation for this class was generated from the following files: