Detailed Description
An implementation of DiscoveryAgentInterface that uses the Avahi client library.
Classes |
struct | ServiceEntry |
Public Member Functions |
bool | Init () |
| Initialize the DiscoveryAgent.
|
void | RegisterService (const std::string &service_name, const std::string &type, uint16_t port, const RegisterOptions &options) |
| Register a service.
|
void | ClientStateChanged (AvahiClientState state, AvahiClient *client) |
| Called when the Avahi client state changes.
|
void | GroupStateChanged (const std::string &service_key, AvahiEntryGroup *group, AvahiEntryGroupState state) |
| Called when a entry group state changes.
|
void | ReconnectTimeout () |
| Called when the reconnect timeout expires.
|
Member Function Documentation
void ola::AvahiDiscoveryAgent::RegisterService |
( |
const std::string & |
service_name, |
|
|
const std::string & |
type, |
|
|
uint16_t |
port, |
|
|
const RegisterOptions & |
options |
|
) |
| |
|
virtual |
Register a service.
- Parameters
-
service_name | the name of the service |
type | the service type |
port | the port the service is on |
options | extra options that control registration. |
Implements ola::DiscoveryAgentInterface.
The documentation for this class was generated from the following files: