The QDnsServiceRecord class stores information about a DNS SRV record. More...
Header: | #include <QDnsServiceRecord> |
qmake: | QT += network |
QDnsServiceRecord() | |
QDnsServiceRecord(const QDnsServiceRecord &other) | |
~QDnsServiceRecord() | |
QString | name() const |
quint16 | port() const |
quint16 | priority() const |
void | swap(QDnsServiceRecord &other) |
QString | target() const |
quint32 | timeToLive() const |
quint16 | weight() const |
QDnsServiceRecord & | operator=(QDnsServiceRecord &&other) |
QDnsServiceRecord & | operator=(const QDnsServiceRecord &other) |
The QDnsServiceRecord class stores information about a DNS SRV record.
When performing a lookup on a service, zero or more records will be returned. Each record is represented by a QDnsServiceRecord instance.
The meaning of the fields is defined in RFC 2782.
See also QDnsLookup.
Constructs an empty service record object.
Constructs a copy of other.
Destroys a service record.
Returns the name for this record.
Returns the port on the target host for this service record.
Returns the priority for this service record.
A client must attempt to contact the target host with the lowest-numbered priority.
Swaps this service record instance with other. This function is very fast and never fails.
Returns the domain name of the target host for this service record.
Returns the duration in seconds for which this record is valid.
Returns the weight for this service record.
The weight field specifies a relative weight for entries with the same priority. Entries with higher weights should be selected with a higher probability.
Move-assignment operator.
Assigns the data of the other object to this record object, and returns a reference to it.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: