21 #ifndef G_SMTP_NETWORK_VERIFIER_H
22 #define G_SMTP_NETWORK_VERIFIER_H
33 class NetworkVerifier ;
43 unsigned int connection_timeout ,
unsigned int response_timeout ,
bool compatible ) ;
49 virtual 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 ;
57 virtual void cancel()
override ;
63 void clientEvent( std::string , std::string ) ;
69 unsigned int m_connection_timeout ;
70 unsigned int m_response_timeout ;
74 std::string m_to_address ;
virtual void verify(const std::string &rcpt_to_parameter, const std::string &mail_from_parameter, const GNet::Address &client_ip, const std::string &auth_mechanism, const std::string &auth_extra) override
Override from GSmtp::Verifier.
SMTP and message-store classes.
A signal class for two-parameter callbacks.
virtual G::Slot::Signal2< std::string, VerifierStatus > & doneSignal() override
Override from GSmtp::Verifier.
The GNet::Address class encapsulates a TCP/UDP transport address.
A Verifier that talks to a remote verifier over the network.
An asynchronous interface that verifies recipient 'to' addresses.
An abstract interface for handling exceptions thrown out of event-loop callbacks (socket events...
virtual ~NetworkVerifier()
Destructor.
virtual void cancel() override
Override from GSmtp::Verifier.
A class that holds a host/service name pair and the preferred address family (if any), and also the results of a name-to-address lookup, ie.
NetworkVerifier(GNet::ExceptionHandler &, const std::string &server, unsigned int connection_timeout, unsigned int response_timeout, bool compatible)
Constructor.
A smart pointer class for GNet::HeapClient that keeps track of when the contained instance deletes it...