QDnsMailExchangeRecord Class
QDnsMailExchangeRecord 클래스는 DNS MX 레코드에 대한 정보를 저장합니다. 더 보기...
| 헤더: | #include <QDnsMailExchangeRecord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
| qmake: | QT += network |
- 상속된 멤버를 포함한 모든 멤버 목록
- QDnsMailExchangeRecord는 네트워크 프로그래밍 API 및 암시적 공유 클래스의 일부입니다.
공개 함수
| QDnsMailExchangeRecord() | |
| QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other) | |
| ~QDnsMailExchangeRecord() | |
| QString | exchange() const |
| QString | name() const |
| quint16 | preference() const |
| void | swap(QDnsMailExchangeRecord &other) |
| quint32 | timeToLive() const |
| QDnsMailExchangeRecord & | operator=(const QDnsMailExchangeRecord &other) |
상세 설명
서비스에 대한 조회를 수행하면 0개 이상의 레코드가 반환됩니다. 각 레코드는 QDnsMailExchangeRecord 인스턴스로 표현됩니다.
필드의 의미는 RFC 1035에 정의되어 있습니다.
QDnsLookup도 참조하십시오 .
멤버 함수 문서
QDnsMailExchangeRecord::QDnsMailExchangeRecord()
빈 메일 교환 레코드 객체를 생성합니다.
QDnsMailExchangeRecord::QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other)
other 의 복사본을 생성합니다.
[noexcept] QDnsMailExchangeRecord::~QDnsMailExchangeRecord()
메일 교환 레코드를 삭제합니다.
QString QDnsMailExchangeRecord::exchange() const
이 레코드의 메일 교환(MX)에 해당하는 도메인 이름을 반환합니다.
QString QDnsMailExchangeRecord::name() const
이 레코드의 이름을 반환합니다.
quint16 QDnsMailExchangeRecord::preference() const
이 레코드에 대한 기본 설정을 반환합니다.
[noexcept] void QDnsMailExchangeRecord::swap(QDnsMailExchangeRecord &other)
other 와 이 메일 교환 기록을 교환합니다. 이 작업은 매우 빠르며 절대 실패하지 않습니다.
quint32 QDnsMailExchangeRecord::timeToLive() const
이 레코드의 유효 기간을 초 단위로 반환합니다.
QDnsMailExchangeRecord &QDnsMailExchangeRecord::operator=(const QDnsMailExchangeRecord &other)
other 객체의 데이터를 이 레코드 객체에 할당하고, 해당 객체에 대한 참조를 반환합니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.