Open Lighting Architecture: ola::BonjourDiscoveryAgent Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::BonjourDiscoveryAgent Class Reference

## Detailed Description

An implementation of DiscoveryAgentInterface that uses the Apple dns_sd.h library.

Inheritance diagram for ola::BonjourDiscoveryAgent:

## 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.

## Member Function Documentation

## ◆ Init()

bool ola::BonjourDiscoveryAgent::Init | ( |  | ) |
| virtual

Initialize the DiscoveryAgent.

Implements ola::DiscoveryAgentInterface.

## ◆ RegisterService()

void ola::BonjourDiscoveryAgent::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:

- olad/BonjourDiscoveryAgent.h
- olad/BonjourDiscoveryAgent.cpp