Open Lighting Architecture  0.9.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
ola::DiscoveryAgentInterface Class Reference

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 This controls options like the interface index, domain and TXT record data. 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

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: