22 OF_ASSUME_NONNULL_BEGIN
29 OF_SUBCLASSING_RESTRICTED
32 uint16_t _priority, _weight;
40 @property (readonly, nonatomic) uint16_t priority;
45 @property (readonly, nonatomic) uint16_t weight;
50 @property (readonly, nonatomic)
OFString *target;
55 @property (readonly, nonatomic) uint16_t port;
57 - (instancetype)initWithName: (
OFString *)name
60 TTL: (uint32_t)TTL OF_UNAVAILABLE;
74 - (instancetype)initWithName: (
OFString *)name
75 priority: (uint16_t)priority
76 weight: (uint16_t)weight
79 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 SRV DNS resource record.
Definition: OFSRVDNSResourceRecord.h:30
OFDNSRecordType
The type of a DNS resource record.
Definition: OFDNSResourceRecord.h:44