内容表

上一话题

QDnsLookup

下一话题

QDnsServiceRecord

QDnsMailExchangeRecord

QDnsMailExchangeRecord class stores information about a DNS MX record. 更多

Inheritance diagram of PySide2.QtNetwork.QDnsMailExchangeRecord

概要

函数

详细描述

When performing a lookup on a service, zero or more records will be returned. Each record is represented by a QDnsMailExchangeRecord 实例。

字段含义的定义在 RFC 1035 .

另请参阅

QDnsLookup

class QDnsMailExchangeRecord

QDnsMailExchangeRecord(other)

param other

QDnsMailExchangeRecord

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

返回此记录有效的持续时间 (以秒为单位)。