50 throw G::Exception(
"dnsbl has been disabled in this build" ) ;
The GNet::Address class encapsulates a TCP/UDP transport address.
bool busy() const
Returns true after start() and before the completion callback.
static void checkConfig(const std::string &)
See DnsBlock::checkConfig().
Dnsbl(std::function< void(bool)> callback, ExceptionSink, G::string_view config={})
Constructor. See DnsBlock::DnsBlock().
void start(const Address &)
Starts an asychronous check on the given address.
A tuple containing an ExceptionHandler interface pointer and a bound 'exception source' pointer.
A general-purpose exception class derived from std::exception and containing an error message.
A class like c++17's std::string_view.