内容表

上一话题

QDnsServiceRecord

下一话题

QDtls

QDnsTextRecord

QDnsTextRecord class stores information about a DNS TXT record. 更多

Inheritance diagram of PySide2.QtNetwork.QDnsTextRecord

概要

函数

详细描述

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

字段含义的定义在 RFC 1035 .

另请参阅

QDnsLookup

class QDnsTextRecord

QDnsTextRecord(other)

param other

QDnsTextRecord

构造空文本记录对象。

构造副本为 other .

PySide2.QtNetwork.QDnsTextRecord. name ( )
返回类型

unicode

返回此文本记录的名称。

PySide2.QtNetwork.QDnsTextRecord. swap ( other )
参数

other QDnsTextRecord

交换此文本记录实例与 other 。此函数非常快,且从不失败。

PySide2.QtNetwork.QDnsTextRecord. timeToLive ( )
返回类型

quint32

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

PySide2.QtNetwork.QDnsTextRecord. values ( )
返回类型

返回此文本记录的值。