File Information
Library: DNSSD/Bonjour
Package: Implementation
Header: Poco/DNSSD/Bonjour/BonjourResponderImpl.h
Description
The DNSSDResponderImpl implementation for Bonjour.
Inheritance
Direct Base Classes: Poco::DNSSD::DNSSDResponderImpl
All Base Classes: Poco::DNSSD::DNSSDResponderImpl
Member Summary
Member Functions: addRecord, browser, createTXTRecord, describeError, onRegisterServiceReply, registerService, removeRecord, start, stop, unregisterService, updateRecord
Inherited Functions: addRecord, browser, registerService, removeRecord, start, stop, unregisterService, updateRecord
Constructors
BonjourResponderImpl
BonjourResponderImpl(
Poco::DNSSD::DNSSDResponder & owner
);
Creates the BonjourResponder, using the given owner.
Destructor
~BonjourResponderImpl
Destroys the BonjourResponderImpl.
Member Functions
addRecord
RecordHandle addRecord(
ServiceHandle serviceHandle,
const Record & record
);
browser
DNSSDBrowser & browser();
describeError
static const char * describeError(
int code
);
Returns a human-readable string describing the error.
onRegisterServiceReply
void onRegisterServiceReply(
DNSServiceRef sdRef,
DNSServiceFlags flags,
DNSServiceErrorType errorCode,
const char * name,
const char * regtype,
const char * domain
);
registerService
ServiceHandle registerService(
const Service & service,
int options
);
removeRecord
void removeRecord(
ServiceHandle serviceHandle,
RecordHandle & recordHandle
);
start
void start();
See also: Poco::DNSSD::DNSSDResponderImpl::start()
stop
void stop();
See also: Poco::DNSSD::DNSSDResponderImpl::stop()
unregisterService
void unregisterService(
ServiceHandle & serviceHandle
);
updateRecord
void updateRecord(
ServiceHandle serviceHandle,
RecordHandle recordHandle,
const Record & record
);
createTXTRecord
static std::string createTXTRecord(
const Service::Properties & properties
);