|
Public Member Functions |
| Dnsbl (const std::string &zone, Result ifListed, const std::string &desc="") |
| Dnsbl (const std::string &zone, const std::map< Url, Result > &results, const std::string &desc="") |
virtual | ~Dnsbl () |
void | setCache (DnsblCache *cache) |
const DnsblCache * | getCache () const |
Result | check (const Url &url, std::string *comments=NULL) const throw (net_error) |
const std::string & | name () const |
std::map< Url, Result > | getResults () const |
const std::string & | getDescription () const |
void | setDescription (const std::string &desc) |
void | addResult (const Url &url, Result res) |
void | addResults (const std::map< Url, Result > &results) |
void | clearResults () |
Static Public Attributes |
static const Url | ANY = Url("0.0.0.0") |
Private Types |
typedef std::map< Url, Result > | ResultMap |
Private Attributes |
std::string | m_zone |
std::string | m_description |
ResultMap | m_results |
CriticalSection | m_section |
RefCounted< DnsblCache > | m_cache |