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().
void start(const Address &)
Starts an asychronous check on the given address.
Dnsbl(std::function< void(bool)> callback, EventState, std::string_view config={})
Constructor. See DnsBlock::DnsBlock().
A lightweight object containing an ExceptionHandler pointer, optional ExceptionSource pointer and opt...
A general-purpose exception class derived from std::exception and containing an error message.