|
RAVENNAKIT
|
A struct containing data which represents a service on the network. More...
#include <dnssd_service_description.hpp>
Public Member Functions | |
| bool | resolved () const |
| Returns whether this service has been resolved. | |
| std::string | to_string () const noexcept |
| Returns a description of this struct, which might be handy for debugging or logging purposes. | |
Public Attributes | |
| std::string | fullname |
| The full service domain name. | |
| std::string | name |
| The name of the service. | |
| std::string | reg_type |
| The type of the service (ie. _http._tcp.). | |
| std::string | domain |
| The domain of the service (local.). | |
| std::string | host_target |
| The host target of the service (name.local.). | |
| uint16_t | port {} |
| The port of the service (in native endian). | |
| TxtRecord | txt |
| The TXT record of the service, represented as a map of keys and values. | |
| std::map< uint32_t, std::set< std::string > > | interfaces |
| The resolved addresses of this service. | |
A struct containing data which represents a service on the network.
Definition at line 16 of file dnssd_service_description.hpp.
|
nodiscard |
Returns whether this service has been resolved.
|
nodiscardnoexcept |
Returns a description of this struct, which might be handy for debugging or logging purposes.
| std::string rav::dnssd::ServiceDescription::domain |
The domain of the service (local.).
Definition at line 27 of file dnssd_service_description.hpp.
| std::string rav::dnssd::ServiceDescription::fullname |
The full service domain name.
Definition at line 18 of file dnssd_service_description.hpp.
| std::string rav::dnssd::ServiceDescription::host_target |
The host target of the service (name.local.).
Definition at line 30 of file dnssd_service_description.hpp.
| std::map<uint32_t, std::set<std::string> > rav::dnssd::ServiceDescription::interfaces |
The resolved addresses of this service.
Definition at line 39 of file dnssd_service_description.hpp.
| std::string rav::dnssd::ServiceDescription::name |
The name of the service.
Definition at line 21 of file dnssd_service_description.hpp.
| uint16_t rav::dnssd::ServiceDescription::port {} |
The port of the service (in native endian).
Definition at line 33 of file dnssd_service_description.hpp.
| std::string rav::dnssd::ServiceDescription::reg_type |
The type of the service (ie. _http._tcp.).
Definition at line 24 of file dnssd_service_description.hpp.
| TxtRecord rav::dnssd::ServiceDescription::txt |
The TXT record of the service, represented as a map of keys and values.
Definition at line 36 of file dnssd_service_description.hpp.