21 #ifndef OLAD_BONJOURDISCOVERYAGENT_H_ 22 #define OLAD_BONJOURDISCOVERYAGENT_H_ 28 #include <ola/io/SelectServer.h> 33 #include "olad/DiscoveryAgent.h" 51 void RegisterService(
const std::string &service_name,
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);
81 std::string BuildTxtRecord(
const RegisterOptions::TxtData &txt_data);
86 #endif // OLAD_BONJOURDISCOVERYAGENT_H_ #define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
An implementation of DiscoveryAgentInterface that uses the Apple dns_sd.h library.
Definition: BonjourDiscoveryAgent.h:44
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
Definition: BonjourDiscoveryAgent.cpp:56