E-MailRelay
|
A filter factory that holds a GSmtp::FileStore reference so that it can instantiate filters that operate on message files. More...
#include <gfilterfactory.h>
Public Member Functions | |
FilterFactoryFileStore (FileStore &) | |
Constructor. More... | |
std::unique_ptr< Filter > | newFilter (GNet::ExceptionSink, bool server_side, const std::string &identifier, unsigned int timeout) override |
Returns a Filter on the heap. More... | |
![]() | |
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. More... | |
virtual | ~FilterFactory ()=default |
Destructor. | |
Additional Inherited Members | |
![]() | |
static std::string | check (const std::string &identifier) |
Checks an identifier. More... | |
A filter factory that holds a GSmtp::FileStore reference so that it can instantiate filters that operate on message files.
Definition at line 62 of file gfilterfactory.h.
|
explicit |
Constructor.
The FileStore reference is retained and passed to new filter objects so that they can derive the paths of the content and envelope files that they process.
Definition at line 31 of file gfilterfactory.cpp.
|
overridevirtual |
Returns a Filter on the heap.
The identifier is normally prefixed with a processor type, or it is the file system path of an exectuable.
Implements GSmtp::FilterFactory.
Definition at line 36 of file gfilterfactory.cpp.