Library: Zeroconf
Package: ZeroCore
Header: Poco/Zeroconf/ResolvedServiceInfo.h
ResolvedServiceInfo holds information for resolved services.
Member Functions: fullServiceName, hostPort, hostTarget, networkInterface, properties, serviceRef
Creates an invalid ResolvedServiceInfo. Required for asynchronous notifications.
ResolvedServiceInfo(
DNSServiceRef sdRef,
Poco::Int32 iface,
const std::string & serviceName,
const std::string & hostTarget,
Poco::UInt16 hostPort,
const Properties & txtRecord
);
Creates the ResolvedServiceInfo.
Destroys the ResolvedServiceInfo.
const std::string & fullServiceName() const;
Returns the full service name with correct character escaping. The fullname will be formatted like: shortName.regType.domain
Poco::UInt16 hostPort() const;
Returns the port on which the service is available.
const std::string & hostTarget() const;
Returns the target machine the service is running on.
Poco::Int32 networkInterface() const;
The id of the interface on which the remote service is running
const Properties & properties() const;
Returns the parsed txtRecord
DNSServiceRef serviceRef() const;
The reference to the service.