The QDnsMailExchangeRecord class stores information about a DNS MX record. 更多...
| 頭: | #include <QDnsMailExchangeRecord> |
| qmake: | QT += network |
| QDnsMailExchangeRecord () | |
| QDnsMailExchangeRecord (const QDnsMailExchangeRecord & other ) | |
| ~QDnsMailExchangeRecord () | |
| QString | exchange () const |
| QString | name () const |
| quint16 | preference () const |
| void | swap (QDnsMailExchangeRecord & other ) |
| quint32 | timeToLive () const |
| QDnsMailExchangeRecord & | operator= (QDnsMailExchangeRecord && other ) |
| QDnsMailExchangeRecord & | operator= (const QDnsMailExchangeRecord & other ) |
The QDnsMailExchangeRecord class stores information about a DNS MX record.
When performing a lookup on a service, zero or more records will be returned. Each record is represented by a QDnsMailExchangeRecord 實例。
字段含義的定義在 RFC 1035 .
另請參閱 QDnsLookup .
構造空郵件交換記錄對象。
構造副本為 other .
銷毀郵件交換記錄。
Returns the domain name of the mail exchange for this record.
返迴此記錄的名稱。
Returns the preference for this record.
Swaps this mail exchange record with other 。此函數非常快且從不失敗。
返迴此記錄有效的持續時間 (以秒為單位)。
移動賦值運算符。
賦值數據源於 other 對象到此記錄對象,並返迴它的引用。