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

Detailed Description

An implementation of DiscoveryAgentInterface that uses the Apple dns_sd.h library.

Inheritance diagram for ola::BonjourDiscoveryAgent:
Inheritance graph
[legend]
Collaboration diagram for ola::BonjourDiscoveryAgent:
Collaboration graph
[legend]

Classes

struct  RegisterArgs
struct  ServiceRef

Public Member Functions

bool Init ()
 Initialize the DiscoveryAgent.
void RegisterService (const std::string &service_name, const std::string &type, uint16_t port, const RegisterOptions &options)
 Register a service.

Member Function Documentation

void ola::BonjourDiscoveryAgent::RegisterService ( const std::string &  service_name,
const std::string &  type,
uint16_t  port,
const RegisterOptions options 
)
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.

Implements ola::DiscoveryAgentInterface.


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