|
Trippin Cyril
|
A simple IPv4 lookup event. More...
#include <DNS.h>
Public Member Functions | |
| IPv4Lookup (const Module *pModule, const String &query, DNSCallback *callback) | |
| IPv4Lookup (const Module *pModule, const String &query, const DNSLamdbaCallback &callback, const DNSLamdbaErrorCallback &errorCallback=nullptr) | |
| virtual | ~IPv4Lookup () |
| const String | GetQuery () const |
Public Member Functions inherited from trippingcyril::trippingcyril::Event | |
| Event (const Module *module) | |
| virtual | ~Event () |
| const Module * | GetModule () const |
Additional Inherited Members | |
Protected Member Functions inherited from trippingcyril::trippingcyril::Event | |
| event_base * | GetEventBase () const |
| evdns_base * | GetDNSBase () const |
Protected Attributes inherited from trippingcyril::trippingcyril::Event | |
| const Module * | module |
A simple IPv4 lookup event.
| trippingcyril::net::dns::IPv4Lookup::IPv4Lookup | ( | const Module * | pModule, |
| const String & | query, | ||
| DNSCallback * | callback | ||
| ) |
General constructor
| pModule | The module to register this dns lookup on |
| query | The domain name to lookup |
| callback | The callback object |
| std::runtime_error | If libevent somehow failed to make the request |
|
inline |
General constructor
| pModule | The module to register this dns lookup on |
| query | The domain name to lookup |
| callback | The success callback |
| errorCallback | The error callback function |
| std::runtime_error | If libevent somehow failed to make the request |
|
virtual |
|
inline |
The query
1.8.6