QDnsMailExchangeRecordclass stores information about a DNS MX record. 更多 …
def
exchange
()
def
name
()
def
preference
()
def
swap
(other)
def
timeToLive
()
When performing a lookup on a service, zero or more records will be returned. Each record is represented by a
QDnsMailExchangeRecord实例。字段含义的定义在 RFC 1035 .
另请参阅
QDnsMailExchangeRecord
¶
QDnsMailExchangeRecord(other)
- param other
Constructs an empty mail exchange record object.
构造副本为
other
.
PySide2.QtNetwork.QDnsMailExchangeRecord.
exchange
(
)
¶
unicode
Returns the domain name of the mail exchange for this record.
PySide2.QtNetwork.QDnsMailExchangeRecord.
name
(
)
¶
unicode
返回此记录的名称。
PySide2.QtNetwork.QDnsMailExchangeRecord.
preference
(
)
¶
quint16
Returns the preference for this record.
PySide2.QtNetwork.QDnsMailExchangeRecord.
swap
(
other
)
¶
other
–
QDnsMailExchangeRecord
Swaps this mail exchange record with
other
。此函数非常快,且从不失败。
PySide2.QtNetwork.QDnsMailExchangeRecord.
timeToLive
(
)
¶
quint32
返回此记录有效的持续时间 (以秒为单位)。