class ServiceBase |
|
\class ServiceBase servicebase.h DNSSD/ServiceBase
This class is used to carry information about service. It can be remote, local, metaservice or domain. Metaservice has only type and domain - it means that services of given type are present in given domain. Describes any type of service. Author Jakub Stachowski |
|
name - Service name
type - Service type domain - Domain name for service host - Host name for service port - Port number for service To do: Explain if domain is the FQDN, or if host + "." + domain is. To do: Explain when port is needed (does it override name?). |
|
|
Returns domain that given service belongs to. It is "local." for link-local services. |
|
Returns hostname. It is only valid for local and resolved remote services. |
|
Compares service name, type and domain. This is enough to for unique identification and omitting port, host and text data allows to compare resolved and unresolved services |
|
Returns port number. It is only valid for local and resolved remote services. |
|
Returns name of service. |
|
Returns read only map of text properties. It is only valid for local and resolved remote services. |
|
Returns type of service. It always in format _sometype._udp or _sometype._tcp. |
|