21#ifndef G_SMTP_FILTER_FACTORY_H
22#define G_SMTP_FILTER_FACTORY_H
35 class FilterFactoryFileStore ;
45 bool server_side ,
const std::string & identifier ,
unsigned int timeout ) = 0 ;
53 static std::string
check(
const std::string & identifier ) ;
71 bool server_side ,
const std::string & identifier ,
unsigned int timeout )
override ;
A tuple containing an ExceptionHandler interface pointer and a bound 'exception source' pointer.
static std::string check(const std::string &identifier, bool allow_spam)
Parses and checks an identifier.
A concrete implementation of the MessageStore interface dealing in paired flat files.
A filter factory that holds a GSmtp::FileStore reference so that it can instantiate filters that oper...
FilterFactoryFileStore(FileStore &)
Constructor.
std::unique_ptr< Filter > newFilter(GNet::ExceptionSink, bool server_side, const std::string &identifier, unsigned int timeout) override
Returns a Filter on the heap.
A factory interface for GSmtp::Filter message processors.
static std::string check(const std::string &identifier)
Checks an identifier.
virtual std::unique_ptr< Filter > newFilter(GNet::ExceptionSink, bool server_side, const std::string &identifier, unsigned int timeout)=0
Returns a Filter on the heap.
virtual ~FilterFactory()=default
Destructor.
SMTP and message-store classes.