|
|||
|
|||
|
#include <dns.h>
Inheritance diagram for CachedQuery:


Public Member Functions | |
| CachedQuery (const std::string &res, unsigned int ttl) | |
| Build a cached query. | |
| int | CalcTTLRemaining () |
| Returns the number of seconds remaining before this cache item has expired and should be removed. | |
Public Attributes | |
| std::string | data |
| The cached result data, an IP or hostname. | |
| time_t | expires |
| The time when the item is due to expire. | |
Definition at line 75 of file dns.h.
|
||||||||||||
|
Build a cached query.
|
|
|
Returns the number of seconds remaining before this cache item has expired and should be removed.
Definition at line 97 of file dns.h. Referenced by Resolver::Resolver(). |
|
|
The cached result data, an IP or hostname.
Definition at line 80 of file dns.h. Referenced by Resolver::TriggerCachedResult(). |
|
|
The time when the item is due to expire.
|