26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
@class OFArray OF_GENERIC(ObjectType);
@class OFDNSResolver;
@class OFDNSResolverContext;
@class OFDNSResolverSettings;
@class OFDate;
@class OFDictionary OF_GENERIC(KeyType, ObjectType);
@class OFMutableDictionary OF_GENERIC(KeyType, ObjectType);
@class OFNumber;
@class OFPair OF_GENERIC(FirstType, SecondType);
@class OFTCPSocket;
@class OFUDPSocket;
/**
|
>
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
@class OFArray OF_GENERIC(ObjectType);
@class OFDNSResolver;
@class OFDNSResolverContext;
@class OFDNSResolverSettings;
@class OFDate;
@class OFDictionary OF_GENERIC(KeyType, ObjectType);
@class OFMutableArray OF_GENERIC(ObjectType);
@class OFMutableDictionary OF_GENERIC(KeyType, ObjectType);
@class OFNumber;
@class OFPair OF_GENERIC(FirstType, SecondType);
@class OFTCPSocket;
@class OFUDPSocket;
/**
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
char _buffer[OFDNSResolverBufferLength];
OFMutableDictionary OF_GENERIC(OFNumber *, OFDNSResolverContext *)
*_queries;
OFMutableDictionary OF_GENERIC(OFTCPSocket *, OFDNSResolverContext *)
*_TCPQueries;
OFMutableDictionary OF_GENERIC(OFDNSQuery *,
OFPair OF_GENERIC(OFDate *, OFDNSResponse *) *) *_cache;
OFTimeInterval _lastCacheCleanup;
}
/**
* @brief A dictionary of static hosts.
*
* This dictionary is checked before actually looking up a host.
|
>
|
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
char _buffer[OFDNSResolverBufferLength];
OFMutableDictionary OF_GENERIC(OFNumber *, OFDNSResolverContext *)
*_queries;
OFMutableDictionary OF_GENERIC(OFTCPSocket *, OFDNSResolverContext *)
*_TCPQueries;
OFMutableDictionary OF_GENERIC(OFDNSQuery *,
OFPair OF_GENERIC(OFDate *, OFDNSResponse *) *) *_cache;
OFMutableArray OF_GENERIC(OFString *) *_lastNameServers;
OFTimeInterval _lastCacheCleanup;
}
/**
* @brief A dictionary of static hosts.
*
* This dictionary is checked before actually looking up a host.
|
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
* to disable reloading the config after some time. If you don't, the
* config will be reloaded and your change overridden.
*/
@property (copy, nonatomic) OFArray OF_GENERIC(OFString *) *nameServers;
/**
* @brief The local domain.
*
* @warning If you change this, you need to set @ref configReloadInterval to 0
* to disable reloading the config after some time. If you don't, the
* config will be reloaded and your change overridden.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *localDomain;
/**
* @brief The domains to search for queries for short names.
*
* @warning If you change this, you need to set @ref configReloadInterval to 0
|
<
<
<
<
|
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
* to disable reloading the config after some time. If you don't, the
* config will be reloaded and your change overridden.
*/
@property (copy, nonatomic) OFArray OF_GENERIC(OFString *) *nameServers;
/**
* @brief The local domain.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *localDomain;
/**
* @brief The domains to search for queries for short names.
*
* @warning If you change this, you need to set @ref configReloadInterval to 0
|