22 OF_ASSUME_NONNULL_BEGIN
29 OF_SUBCLASSING_RESTRICTED
39 @property (readonly, nonatomic) uint16_t preference;
44 @property (readonly, nonatomic)
OFString *mailExchange;
46 - (instancetype)initWithName: (
OFString *)name
49 TTL: (uint32_t)TTL OF_UNAVAILABLE;
62 - (instancetype)initWithName: (
OFString *)name
64 preference: (uint16_t)preference
65 mailExchange: (
OFString *)mailExchange
66 TTL: (uint32_t)TTL OF_DESIGNATED_INITIALIZER;
OFDNSClass
The DNS class.
Definition: OFDNSResourceRecord.h:34
A class representing a DNS resource record.
Definition: OFDNSResourceRecord.h:80
A class for handling strings.
Definition: OFString.h:142
OFDNSRecordType
The type of a DNS resource record.
Definition: OFDNSResourceRecord.h:44
A class representing an MX DNS resource record.
Definition: OFMXDNSResourceRecord.h:30