Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Member Functions | List of all members
ola::DiscoveryAgentInterface Class Referenceabstract

Detailed Description

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

Inheritance diagram for ola::DiscoveryAgentInterface:
Inheritance graph
[legend]

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

Member Function Documentation

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::BonjourDiscoveryAgent, and ola::AvahiDiscoveryAgent.


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