Open Lighting Architecture  0.9.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ola::DiscoveryAgentInterface::RegisterOptions Struct Reference

Detailed Description

Options for the RegisterService method.

This controls options like the interface index, domain and TXT record data.

Inherited by ola::AvahiDiscoveryAgent::ServiceEntry, and ola::BonjourDiscoveryAgent::RegisterArgs.

Public Types

typedef std::map< std::string,
std::string > 
TxtData

Public Member Functions

 RegisterOptions (const RegisterOptions &options)

Public Attributes

int if_index
std::string domain
 The domain to use.
TxtData txt_data

Static Public Attributes

static const int ALL_INTERFACES = 0
 A constant which represents all Interfaces.

Member Typedef Documentation

The data type that stores the key : values for the TXT record.

Member Data Documentation

std::string ola::DiscoveryAgentInterface::RegisterOptions::domain

The domain to use.

The empty string uses the system default domain.

int ola::DiscoveryAgentInterface::RegisterOptions::if_index

The interface index to register on

TxtData ola::DiscoveryAgentInterface::RegisterOptions::txt_data

The TXT record data.


The documentation for this struct was generated from the following file: