Library: Zeroconf
Package: ZeroCore
Header: Poco/Zeroconf/ServiceInfo.h
Event Arguments for the case when a new service is discovered/removed
Member Functions: networkInterface, regType, replyDomain, serviceName, serviceRef
ServiceInfo();
Creates an empty ServiceInfo.
ServiceInfo(
DNSServiceRef sdRef,
Poco::Int32 iface,
const std::string & serviceName,
const std::string & regType,
const std::string & replyDomain
);
Creates the ServiceInfo.
~ServiceInfo();
Destroys the ServiceInfo.
Poco::Int32 networkInterface() const;
The id of the interface on which the remote service is running. The zero interface value equals all interfaces.
const std::string & regType() const;
The type under which the service is registered
const std::string & replyDomain() const;
The domain the service is part of
const std::string & serviceName() const;
The name of the service.
DNSServiceRef serviceRef() const;
The reference to the service.