22 OF_ASSUME_NONNULL_BEGIN
29 OF_SUBCLASSING_RESTRICTED
32 uint16_t _priority, _weight;
39 @property (readonly, nonatomic) uint16_t priority;
44 @property (readonly, nonatomic) uint16_t weight;
49 @property (readonly, nonatomic)
OFString *target;
51 - (instancetype)initWithName: (
OFString *)name
54 TTL: (uint32_t)TTL OF_UNAVAILABLE;
68 - (instancetype)initWithName: (
OFString *)name
70 priority: (uint16_t)priority
71 weight: (uint16_t)weight
73 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
A class representing an URI DNS resource record.
Definition: OFURIDNSResourceRecord.h:30
OFDNSRecordType
The type of a DNS resource record.
Definition: OFDNSResourceRecord.h:44