File Information
Library: DNSSD/Avahi
Package: Implementation
Header: Poco/DNSSD/Avahi/AvahiBrowserImpl.h
Description
The DNSSDBrowser implementation for Avahi.
Inheritance
Direct Base Classes: Poco::DNSSD::DNSSDBrowser
All Base Classes: Poco::DNSSD::DNSSDBrowser
Member Summary
Member Functions: browse, cancel, enumerateBrowseDomains, enumerateRegistrationDomains, escape, onBrowseReply, onEnumerateBrowseDomainsReply, onEnumerateRegistrationDomainsReply, onQueryRecordReply, onResolveReply, parseTXTRecord, queryRecord, resolve, resolveHost
Inherited Functions: browse, cancel, enumerateBrowseDomains, enumerateRegistrationDomains, queryRecord, resolve, resolveHost
Enumerations
HandleTypes
Constructors
AvahiBrowserImpl
AvahiBrowserImpl(
AvahiResponderImpl & responder
);
Creates the AvahiBrowserImpl.
Destructor
~AvahiBrowserImpl
~AvahiBrowserImpl();
Destroys the AvahiBrowserImpl.
Member Functions
browse
BrowseHandle browse(
const std::string & regType,
const std::string & domain,
int options,
Poco::Int32 networkInterface
);
See also: Poco::DNSSD::DNSSDBrowser::browse()
cancel
void cancel(
BrowseHandle & browseHandle
);
See also: Poco::DNSSD::DNSSDBrowser::cancel()
enumerateBrowseDomains
BrowseHandle enumerateBrowseDomains(
Poco::Int32 networkInterface
);
enumerateRegistrationDomains
BrowseHandle enumerateRegistrationDomains(
Poco::Int32 networkInterface
);
onBrowseReply
void onBrowseReply(
AvahiServiceBrowser * browser,
AvahiIfIndex interface,
AvahiProtocol protocol,
AvahiBrowserEvent event,
const char * name,
const char * type,
const char * domain,
AvahiLookupResultFlags flags
);
onEnumerateBrowseDomainsReply
void onEnumerateBrowseDomainsReply(
AvahiDomainBrowser * browser,
AvahiIfIndex interface,
AvahiProtocol protocol,
AvahiBrowserEvent event,
const char * domain,
AvahiLookupResultFlags flags,
bool isDefault
);
onEnumerateRegistrationDomainsReply
void onEnumerateRegistrationDomainsReply(
AvahiDomainBrowser * browser,
AvahiIfIndex interface,
AvahiProtocol protocol,
AvahiBrowserEvent event,
const char * domain,
AvahiLookupResultFlags flags,
bool isDefault
);
onQueryRecordReply
void onQueryRecordReply(
AvahiRecordBrowser * browser,
AvahiIfIndex interface,
AvahiProtocol protocol,
AvahiBrowserEvent event,
const char * name,
uint16_t clazz,
uint16_t type,
const void * data,
std::size_t size,
AvahiLookupResultFlags flags
);
onResolveReply
void onResolveReply(
AvahiServiceResolver * resolver,
AvahiIfIndex interface,
AvahiProtocol protocol,
AvahiResolverEvent event,
const char * name,
const char * type,
const char * domain,
const char * host,
const AvahiAddress * a,
uint16_t port,
AvahiStringList * txt,
AvahiLookupResultFlags flags
);
queryRecord
BrowseHandle queryRecord(
const std::string & name,
Poco::UInt16 type,
Poco::UInt16 clazz,
int options,
Poco::Int32 networkInterface
);
See also: Poco::DNSSD::DNSSDBrowser::queryRecord()
resolve
BrowseHandle resolve(
const Service & service,
int options
);
See also: Poco::DNSSD::DNSSDBrowser::resolve()
resolveHost
BrowseHandle resolveHost(
const std::string & host,
int options,
Poco::Int32 networkInterface
);
See also: Poco::DNSSD::DNSSDBrowser::resolveHost()
escape
static void escape(
const char * str,
std::string & escaped
);
parseTXTRecord
static void parseTXTRecord(
AvahiStringList * strList,
Service::Properties & properties
);