21 #ifndef OLAD_BONJOURDISCOVERYAGENT_H_
22 #define OLAD_BONJOURDISCOVERYAGENT_H_
28 #include <ola/io/SelectServer.h>
33 #include "olad/DiscoveryAgent.h"
52 const std::string &type,
58 std::string service_name;
62 RegisterArgs(
const std::string &service_name,
63 const std::string &type,
70 DNSServiceRef service_ref;
74 typedef std::vector<ServiceRef> ServiceRefs;
77 std::auto_ptr<thread::CallbackThread> m_thread;
80 void InternalRegisterService(RegisterArgs *args);
86 #endif // OLAD_BONJOURDISCOVERYAGENT_H_
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
bool Init()
Initialize the DiscoveryAgent.
Definition: BonjourDiscoveryAgent.cpp:110
An implementation of DiscoveryAgentInterface that uses the Apple dns_sd.h library.
Definition: BonjourDiscoveryAgent.h:44
std::map< std::string, std::string > TxtData
Definition: DiscoveryAgent.h:54
Options for the RegisterService method.
Definition: DiscoveryAgent.h:49
A single threaded I/O event management system.
Definition: SelectServer.h:63
The interface to DNS-SD operations like register, browse etc.
Definition: DiscoveryAgent.h:34
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
void RegisterService(const std::string &service_name, const std::string &type, uint16_t port, const RegisterOptions &options)
Register a service.
Definition: BonjourDiscoveryAgent.cpp:115
Definition: BonjourDiscoveryAgent.cpp:56