65 std::function<void(
bool)> m_callback ;
66 std::unique_ptr<DnsblImp> m_imp ;
The GNet::Address class encapsulates a TCP/UDP transport address.
A minimal bridge to GNet::DnsBlock.
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 class like c++17's std::string_view.