E-MailRelay
Public Member Functions | List of all members
GVerifiers::NetworkVerifier Class Reference

A Verifier that talks to a remote address verifier over the network. More...

#include <gnetworkverifier.h>

+ Inheritance diagram for GVerifiers::NetworkVerifier:
+ Collaboration diagram for GVerifiers::NetworkVerifier:

Public Member Functions

 NetworkVerifier (GNet::EventState, const GSmtp::Verifier::Config &config, const std::string &server)
 Constructor. More...
 
 ~NetworkVerifier () override
 Destructor. More...
 
 NetworkVerifier (const NetworkVerifier &)=delete
 
 NetworkVerifier (NetworkVerifier &&)=delete
 
NetworkVerifieroperator= (const NetworkVerifier &)=delete
 
NetworkVerifieroperator= (NetworkVerifier &&)=delete
 
- Public Member Functions inherited from GSmtp::Verifier
virtual void verify (const Request &)=0
 Checks a recipient address and asynchronously returns a GSmtp::VerifierStatus structure to indicate whether the address is a local mailbox, what the full name is, and the canonical address.
 
virtual G::Slot::Signal< Command, const VerifierStatus & > & doneSignal ()=0
 Returns a signal that is emit()ed when the verify() request is complete.
 
virtual void cancel ()=0
 Aborts any current processing.
 
virtual ~Verifier ()=default
 Destructor.
 

Additional Inherited Members

- Public Types inherited from GSmtp::Verifier
enum class  Command { VRFY , RCPT }
 

Detailed Description

A Verifier that talks to a remote address verifier over the network.

Definition at line 38 of file gnetworkverifier.h.

Constructor & Destructor Documentation

◆ NetworkVerifier()

GVerifiers::NetworkVerifier::NetworkVerifier ( GNet::EventState  es,
const GSmtp::Verifier::Config config,
const std::string &  server 
)

Constructor.

Definition at line 28 of file gnetworkverifier.cpp.

◆ ~NetworkVerifier()

GVerifiers::NetworkVerifier::~NetworkVerifier ( )
override

Destructor.

Definition at line 40 of file gnetworkverifier.cpp.


The documentation for this class was generated from the following files: