21 #ifndef OLAD_DISCOVERYAGENT_H_ 22 #define OLAD_DISCOVERYAGENT_H_ 41 virtual bool Init() = 0;
54 typedef std::map<std::string, std::string>
TxtData;
71 : if_index(ALL_INTERFACES),
91 const std::string &type,
118 #endif // OLAD_DISCOVERYAGENT_H_ #define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
static const int ALL_INTERFACES
A constant which represents all Interfaces.
Definition: DiscoveryAgent.h:59
A Factory which produces implementations of DiscoveryAgentInterface.
Definition: DiscoveryAgent.h:102
int if_index
Definition: DiscoveryAgent.h:61
std::map< std::string, std::string > TxtData
Definition: DiscoveryAgent.h:54
std::string domain
The domain to use.
Definition: DiscoveryAgent.h:67
Options for the RegisterService method.
Definition: DiscoveryAgent.h:49
virtual void RegisterService(const std::string &service_name, const std::string &type, uint16_t port, const RegisterOptions &options)=0
Register a service.
The interface to DNS-SD operations like register, browse etc.
Definition: DiscoveryAgent.h:34
TxtData txt_data
Definition: DiscoveryAgent.h:68
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
virtual bool Init()=0
Initialize the DiscoveryAgent.