an interface for receiving IP::Addresses from nbgethostbyname() More...
#include <ipcache.h>
![Inheritance graph](classDns_1_1IpReceiver__inherit__graph.png)
![Collaboration graph](classDns_1_1IpReceiver__coll__graph.png)
Public Member Functions | |
~IpReceiver () override | |
virtual void | noteIps (const CachedIps *ips, const LookupDetails &details)=0 |
virtual void | noteIp (const Ip::Address &) |
Called when/if nbgethostbyname() discovers a new good IP address. More... | |
virtual void | noteLookup (const Dns::LookupDetails &) |
virtual void * | toCbdata ()=0 |
Private Member Functions | |
virtual void | finalizedInCbdataChild ()=0 |
hack: ensure CBDATA_CHILD() after a toCbdata()-defining CBDATA_INTERMEDIATE() More... | |
Detailed Description
Constructor & Destructor Documentation
◆ ~IpReceiver()
Member Function Documentation
◆ finalizedInCbdataChild()
|
privatepure virtualinherited |
◆ noteIp()
|
inlinevirtual |
Reimplemented in PeerSelector.
◆ noteIps()
|
pure virtual |
Called when nbgethostbyname() fully resolves the name. The ips
may contain both bad and good IP addresses, but each good IP (if any) is guaranteed to had been previously reported via noteIp(). When no IPs were obtained, ips
is nil.
Implemented in PeerSelector.
◆ noteLookup()
|
inlinevirtual |
Called when/if nbgethostbyname() completes a single DNS lookup if called, called before all the noteIp() calls for that DNS lookup.
Reimplemented in PeerSelector.
◆ toCbdata()
|
pure virtualinherited |
Referenced by AsyncJob::callException(), and AsyncJob::callStart().
The documentation for this class was generated from the following file:
- src/ipcache.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products