Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::DiscoveryAgentInterface Class Referenceabstract

Detailed Description

The interface to DNS-SD operations like register, browse etc.

Inheritance diagram for ola::DiscoveryAgentInterface:
ola::AvahiDiscoveryAgent ola::BonjourDiscoveryAgent

Classes

struct  RegisterOptions
 Options for the RegisterService method. More...
 

Public Member Functions

virtual bool Init ()=0
 Initialize the DiscoveryAgent.
 
virtual void RegisterService (const std::string &service_name, const std::string &type, uint16_t port, const RegisterOptions &options)=0
 Register a service.
 

Member Function Documentation

◆ Init()

virtual bool ola::DiscoveryAgentInterface::Init ( )
pure virtual

Initialize the DiscoveryAgent.

Implemented in ola::AvahiDiscoveryAgent, and ola::BonjourDiscoveryAgent.

◆ RegisterService()

virtual void ola::DiscoveryAgentInterface::RegisterService ( const std::string & service_name,
const std::string & type,
uint16_t port,
const RegisterOptions & options )
pure virtual

Register a service.

Parameters
service_namethe name of the service
typethe service type
portthe port the service is on
optionsextra options that control registration.

Implemented in ola::AvahiDiscoveryAgent, and ola::BonjourDiscoveryAgent.


The documentation for this class was generated from the following file: