21#ifndef G_SMTP_NETWORK_VERIFIER_H
22#define G_SMTP_NETWORK_VERIFIER_H
32 class NetworkVerifier ;
42 unsigned int connection_timeout ,
unsigned int response_timeout ) ;
49 void verify(
const std::string & rcpt_to_parameter ,
50 const std::string & mail_from_parameter ,
const GNet::Address & client_ip ,
51 const std::string & auth_mechanism ,
const std::string & auth_extra )
override ;
53 void cancel()
override ;
62 void clientEvent(
const std::string & ,
const std::string & ,
const std::string & ) ;
63 void clientDeleted(
const std::string & ) ;
69 unsigned int m_connection_timeout ;
70 unsigned int m_response_timeout ;
72 std::string m_to_address ;
The GNet::Address class encapsulates a TCP/UDP transport address.
A smart pointer class for GNet::Client.
A tuple containing an ExceptionHandler interface pointer and a bound 'exception source' pointer.
A class that represents the remote target for out-going client connections.
A Verifier that talks to a remote address verifier over the network.
NetworkVerifier(GNet::ExceptionSink, const std::string &server, unsigned int connection_timeout, unsigned int response_timeout)
Constructor.
~NetworkVerifier() override
Destructor.
An asynchronous interface that verifies recipient 'to' addresses.
SMTP and message-store classes.
A slot holder, with connect() and emit() methods.