File Information
Library: DNSSD/Bonjour
Package: Implementation
Header: Poco/DNSSD/Bonjour/BonjourBrowserImpl.h
Description
The DNSSDBrowser implementation for Bonjour.
Inheritance
Direct Base Classes: Poco::DNSSD::DNSSDBrowser
All Base Classes: Poco::DNSSD::DNSSDBrowser
Member Summary
Member Functions: browse, cancel, enumerateBrowseDomains, enumerateRegistrationDomains, onBrowseReply, onEnumerateBrowseDomainsReply, onEnumerateRegistrationDomainsReply, onQueryRecordReply, onResolveHostReply, onResolveReply, parseTXTRecord, queryRecord, resolve, resolveHost
Inherited Functions: browse, cancel, enumerateBrowseDomains, enumerateRegistrationDomains, queryRecord, resolve, resolveHost
Constructors
BonjourBrowserImpl
BonjourBrowserImpl(
EventLoop & eventLoop
);
Creates the BonjourBrowserImpl.
Destructor
~BonjourBrowserImpl
Destroys the BonjourBrowserImpl.
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(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * serviceName,
const char * regtype,
const char * domain
);
onEnumerateBrowseDomainsReply
void onEnumerateBrowseDomainsReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * replyDomain
);
onEnumerateRegistrationDomainsReply
void onEnumerateRegistrationDomainsReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * replyDomain
);
onQueryRecordReply
void onQueryRecordReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * fullName,
uint16_t rrtype,
uint16_t rrclass,
uint16_t rdlen,
const void * rdata,
uint32_t ttl
);
onResolveHostReply
void onResolveHostReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * hostname,
const struct sockaddr * address,
uint32_t ttl
);
onResolveReply
void onResolveReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
uint32_t interfaceIndex,
DNSServiceErrorType errorCode,
const char * fullName,
const char * host,
uint16_t port,
uint16_t txtLen,
const unsigned char * txtRecord
);
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()
parseTXTRecord
static void parseTXTRecord(
Poco::UInt16 length,
const void * data,
Service::Properties & properties
);