|
|||
|
|||
|
#include <resolvers.h>
Inheritance diagram for SecurityIPResolver:


Public Member Functions | |
| SecurityIPResolver (Module *me, SpanningTreeUtilities *U, InspIRCd *Instance, const std::string &hostname, Link x, bool &cached, QueryType qt) | |
| void | OnLookupComplete (const std::string &result, unsigned int ttl, bool cached, int resultnum=0) |
| When your lookup completes, this method will be called. | |
| void | OnError (ResolverError e, const std::string &errormessage) |
| If an error occurs (such as NXDOMAIN, no domain name found) then this method will be called. | |
Private Attributes | |
| Link | MyLink |
| SpanningTreeUtilities * | Utils |
| Module * | mine |
| std::string | host |
| QueryType | query |
Definition at line 29 of file resolvers.h.
|
||||||||||||||||||||||||||||||||
|
Definition at line 38 of file resolvers.h. Referenced by OnError(). |
|
||||||||||||
|
If an error occurs (such as NXDOMAIN, no domain name found) then this method will be called.
Reimplemented from Resolver. Definition at line 48 of file resolvers.h. References InspIRCd::AddResolver(), DEFAULT, DNS_QUERY_A, DNS_QUERY_AAAA, host, LogManager::Log(), InspIRCd::Logs, mine, MyLink, Link::Name, query, SecurityIPResolver(), Resolver::ServerInstance, and Utils. |
|
||||||||||||||||||||
|
When your lookup completes, this method will be called.
Implements Resolver. Definition at line 43 of file resolvers.h. References Utils, and SpanningTreeUtilities::ValidIPs. |
|
|
Definition at line 35 of file resolvers.h. Referenced by OnError(). |
|
|
Definition at line 34 of file resolvers.h. Referenced by OnError(). |
|
|
Definition at line 32 of file resolvers.h. Referenced by OnError(). |
|
|
Definition at line 36 of file resolvers.h. Referenced by OnError(). |
|
|
Definition at line 33 of file resolvers.h. Referenced by OnError(), and OnLookupComplete(). |