22 OF_ASSUME_NONNULL_BEGIN
30 OF_SUBCLASSING_RESTRICTED
33 uint16_t _priority, _weight;
40 @property (readonly, nonatomic) uint16_t priority;
45 @property (readonly, nonatomic) uint16_t weight;
50 @property (readonly, nonatomic)
OFString *target;
52 - (instancetype)initWithName: (
OFString *)name
55 TTL: (uint32_t)TTL OF_UNAVAILABLE;
69 - (instancetype)initWithName: (
OFString *)name
71 priority: (uint16_t)priority
72 weight: (uint16_t)weight
74 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:138
A class representing an URI DNS resource record.
Definition: OFURIDNSResourceRecord.h:31
OFDNSRecordType
The type of a DNS resource record.
Definition: OFDNSResourceRecord.h:44