|
|||
|
|||
|
Inheritance diagram for SQLresolver:


Public Member Functions | |
| SQLresolver (Module *m, InspIRCd *Instance, const SQLhost &hi, bool &cached) | |
| virtual void | OnLookupComplete (const std::string &result, unsigned int ttl, bool cached, int resultnum=0) |
| When your lookup completes, this method will be called. | |
| virtual 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 | |
| SQLhost | host |
| Module * | mod |
Definition at line 95 of file m_pgsql.cpp.
|
||||||||||||||||||||
|
Definition at line 101 of file m_pgsql.cpp. |
|
||||||||||||
|
If an error occurs (such as NXDOMAIN, no domain name found) then this method will be called.
Reimplemented from Resolver. Definition at line 108 of file m_pgsql.cpp. References DEBUG, LogManager::Log(), InspIRCd::Logs, and Resolver::ServerInstance. |
|
||||||||||||||||||||
|
When your lookup completes, this method will be called.
Implements Resolver. Definition at line 960 of file m_pgsql.cpp. References host, SQLhost::ip, and mod. |
|
|
Definition at line 98 of file m_pgsql.cpp. Referenced by OnLookupComplete(). |
|
|
Definition at line 99 of file m_pgsql.cpp. Referenced by OnLookupComplete(). |