Inherits ShowCont.

| Public Member Functions | |
| int | showMain (int event, Event *e) | 
| int | showLookup (int, Event *) | 
| int | showOne (HostDBInfo *r, bool rr, int event, Event *e) | 
| int | showLookupDone (int event, Event *e) | 
| ShowHostDB (Continuation *c, HTTPHdr *h) | |
| Data Fields | |
| char * | name | 
| IpEndpoint | ip | 
| bool | force | 
Definition at line 2228 of file HostDB.cc.
| ShowHostDB::ShowHostDB | ( | Continuation * | c, | |
| HTTPHdr * | h | |||
| ) |  [inline] | 
Definition at line 2323 of file HostDB.cc.
References ats_ip_invalidate(), SET_HANDLER, and showMain().
| int ShowHostDB::showLookup | ( | int | , | |
| Event * | ||||
| ) |  [inline] | 
Definition at line 2252 of file HostDB.cc.
References force, HostDBProcessor::getbyaddr_re(), HostDBProcessor::getbyname_re(), HostDBProcessor::HOSTDB_FORCE_DNS_ALWAYS, name, SET_HANDLER, and showLookupDone().
Referenced by register_ShowHostDB().
| int ShowHostDB::showLookupDone | ( | int | event, | |
| Event * | e | |||
| ) |  [inline] | 
Definition at line 2286 of file HostDB.cc.
References ats_ip_ntop(), ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), HostDBRoundRobin::current, HostDBRoundRobin::good, HostDBRoundRobin::info, name, PRINT_IP, HostDBInfo::round_robin, HostDBInfo::rr(), HostDBRoundRobin::rrcount, ShowCont::show(), and showOne().
Referenced by showLookup().
| int ShowHostDB::showMain | ( | int | event, | |
| Event * | e | |||
| ) |  [inline] | 
Definition at line 2234 of file HostDB.cc.
References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().
Referenced by register_ShowHostDB(), and ShowHostDB().
| int ShowHostDB::showOne | ( | HostDBInfo * | r, | |
| bool | rr, | |||
| int | event, | |||
| Event * | e | |||
| ) |  [inline] | 
Definition at line 2263 of file HostDB.cc.
References HostDBApplicationInfo::allotment, HostDBInfo::app, HostDBApplicationInfo::application_data_allotment::application1, HostDBApplicationInfo::application_data_allotment::application2, ats_ip_ntop(), CHECK_SHOW, HostDBInfo::hostname(), HostDBInfo::ip, HostDBInfo::ip_time_remaining(), HostDBInfo::is_ip_stale(), HostDBInfo::is_ip_timeout(), HostDBInfo::reverse_dns, HostDBInfo::round_robin, and ShowCont::show().
Referenced by showLookupDone().
| bool ShowHostDB::force | 
Definition at line 2232 of file HostDB.cc.
Referenced by register_ShowHostDB(), and showLookup().
Definition at line 2231 of file HostDB.cc.
Referenced by register_ShowHostDB().
| char* ShowHostDB::name | 
Definition at line 2230 of file HostDB.cc.
Referenced by register_ShowHostDB(), showLookup(), and showLookupDone().
 1.7.1
 1.7.1