E-MailRelay
|
A minimal bridge to GNet::DnsBlock. More...
#include <gdnsbl.h>
Public Member Functions | |
Dnsbl (std::function< void(bool)> callback, EventState, std::string_view config={}) | |
Constructor. See DnsBlock::DnsBlock(). More... | |
~Dnsbl () | |
Destructor. | |
void | start (const Address &) |
Starts an asychronous check on the given address. More... | |
bool | busy () const |
Returns true after start() and before the completion callback. More... | |
Dnsbl (const Dnsbl &)=delete | |
Dnsbl (Dnsbl &&)=delete | |
Dnsbl & | operator= (const Dnsbl &)=delete |
Dnsbl & | operator= (Dnsbl &&)=delete |
Static Public Member Functions | |
static void | checkConfig (const std::string &) |
See DnsBlock::checkConfig(). More... | |
A minimal bridge to GNet::DnsBlock.
GNet::Dnsbl::Dnsbl | ( | std::function< void(bool)> | callback, |
EventState | es, | ||
std::string_view | config = {} |
||
) |
Constructor. See DnsBlock::DnsBlock().
Definition at line 29 of file gdnsbl_disabled.cpp.
bool GNet::Dnsbl::busy | ( | ) | const |
Returns true after start() and before the completion callback.
Definition at line 42 of file gdnsbl_disabled.cpp.
|
static |
Definition at line 47 of file gdnsbl_disabled.cpp.
void GNet::Dnsbl::start | ( | const Address & | address | ) |
Starts an asychronous check on the given address.
The result is delivered via the callback function passed to the ctor.
Definition at line 37 of file gdnsbl_disabled.cpp.