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
이 레코드에 대한 메일 교환의 도메인 이름을 반환합니다.
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 객체의 데이터를 이 레코드 객체에 할당하고 이에 대한 참조를 반환합니다.
© 2025 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.