Poco::DNSSD::Bonjour

class BonjourResponderImpl

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 virtual

~BonjourResponderImpl();

Destroys the BonjourResponderImpl.

Member Functions

addRecord virtual

RecordHandle addRecord(
    ServiceHandle serviceHandle,
    const Record & record
);

browser virtual

DNSSDBrowser & browser();

describeError static

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 virtual

ServiceHandle registerService(
    const Service & service,
    int options
);

removeRecord virtual

void removeRecord(
    ServiceHandle serviceHandle,
    RecordHandle & recordHandle
);

start virtual

void start();

stop virtual

void stop();

unregisterService virtual

void unregisterService(
    ServiceHandle & serviceHandle
);

updateRecord virtual

void updateRecord(
    ServiceHandle serviceHandle,
    RecordHandle recordHandle,
    const Record & record
);

createTXTRecord protected static

static std::string createTXTRecord(
    const Service::Properties & properties
);

Securely control IoT edge devices from anywhere   Connect a Device