Client represent a wrapper to access the avahi_client (a singleton). Every avahi program must set up a client and all communicate via a single avahi-client instance with the avahi-daemon.
More...
#include <Client.hpp>
Client represent a wrapper to access the avahi_client (a singleton). Every avahi program must set up a client and all communicate via a single avahi-client instance with the avahi-daemon.
| servicediscovery::avahi::Client::Client |
( |
| ) |
|
|
protected |
Default constructor with default Poll and no flags
| servicediscovery::avahi::Client::~Client |
( |
| ) |
|
|
virtual |
| void servicediscovery::avahi::Client::addObserver |
( |
ClientObserver * |
clientObserver | ) |
|
| AvahiClient * servicediscovery::avahi::Client::getAvahiClient |
( |
| ) |
|
|
static |
Get the avahi client instance
- Returns
- pointer to the AvahiClient instance
| AvahiClientState servicediscovery::avahi::Client::getAvahiClientState |
( |
| ) |
|
|
static |
Get the avahi client state
- Returns
- AvahiClientState
| void servicediscovery::avahi::Client::lock |
( |
| ) |
|
|
staticprotected |
| void servicediscovery::avahi::Client::removeObserver |
( |
ClientObserver * |
clientObserver | ) |
|
| void servicediscovery::avahi::Client::unlock |
( |
| ) |
|
|
staticprotected |
| friend class base::Singleton< Client > |
|
friend |
The documentation for this class was generated from the following files:
- /build/rock-master-18.09-tools-service-discovery-0.20170710/src/impl/avahi/Client.hpp
- /build/rock-master-18.09-tools-service-discovery-0.20170710/src/impl/avahi/Client.cpp