22OF_ASSUME_NONNULL_BEGIN
30OF_SUBCLASSING_RESTRICTED
40@property (readonly, nonatomic) uint16_t preference;
45@property (readonly, nonatomic)
OFString *mailExchange;
47- (instancetype)initWithName: (
OFString *)name
50 TTL: (uint32_t)TTL OF_UNAVAILABLE;
63- (instancetype)initWithName: (
OFString *)name
65 preference: (uint16_t)preference
66 mailExchange: (
OFString *)mailExchange
67 TTL: (uint32_t)TTL OF_DESIGNATED_INITIALIZER;
OFDNSRecordType
The type of a DNS resource record.
Definition OFDNSResourceRecord.h:44
OFDNSClass
The DNS class.
Definition OFDNSResourceRecord.h:34
A class representing a DNS resource record.
Definition OFDNSResourceRecord.h:82
A class representing an MX DNS resource record.
Definition OFMXDNSResourceRecord.h:32
A class for handling strings.
Definition OFString.h:139