Skip to content

PythonQt.QtNetwork.QDnsServiceRecord · declarations 001

Back to PythonQt.QtNetwork.QDnsServiceRecord

name

name() -> str

X.name() -> str

Supplemental documentation: Qt 5 reference:

QString QDnsServiceRecord::name() const

Returns the name for this record.

Upstream PySide2 reference signatures (binding differences may apply):

name(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#name

operator_assign

operator_assign(other: Any) -> Any

X.operator_assign(other) -> PythonQt.QtNetwork.QDnsServiceRecord

port

port() -> int

X.port() -> int

Supplemental documentation: Qt 5 reference:

quint16 QDnsServiceRecord::port() const

Returns the port on the target host for this service record.

Upstream PySide2 reference signatures (binding differences may apply):

port(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#port

priority

priority() -> int

X.priority() -> int

Supplemental documentation: Qt 5 reference:

quint16 QDnsServiceRecord::priority() const

Returns the priority for this service record.

A client must attempt to contact the target host with the lowest-numbered priority.

Upstream PySide2 reference signatures (binding differences may apply):

priority(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#priority

swap

swap(other: Any) -> None

X.swap(other)

Supplemental documentation: Qt 5 reference:

void QDnsServiceRecord::swap(QDnsServiceRecord \&other)

Swaps this service record instance with other. This function is very fast and never fails.

Upstream PySide2 reference signatures (binding differences may apply):

swap(self, other: PySide2.QtNetwork.QDnsServiceRecord) -> None

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#swap

target

target() -> str

X.target() -> str

Supplemental documentation: Qt 5 reference:

QString QDnsServiceRecord::target() const

Returns the domain name of the target host for this service record.

Upstream PySide2 reference signatures (binding differences may apply):

target(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#target

timeToLive

timeToLive() -> int

X.timeToLive() -> int

Supplemental documentation: Qt 5 reference:

quint32 QDnsServiceRecord::timeToLive() const

Returns the duration in seconds for which this record is valid.

Upstream PySide2 reference signatures (binding differences may apply):

timeToLive(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#timeToLive

weight

weight() -> int

X.weight() -> int

Supplemental documentation: Qt 5 reference:

quint16 QDnsServiceRecord::weight() const

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.

Upstream PySide2 reference signatures (binding differences may apply):

weight(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qdnsservicerecord.html#weight