E-MailRelay
|
A factory interface for GSmtp::Filter message processors. More...
#include <gfilterfactory.h>
Public Member Functions | |
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. | |
Static Public Member Functions | |
static std::string | check (const std::string &identifier) |
Checks an identifier. More... | |
A factory interface for GSmtp::Filter message processors.
Definition at line 41 of file gfilterfactory.h.
|
inlinestatic |
Checks an identifier.
Returns an empty string if okay, or a diagnostic reason string.
Definition at line 78 of file gfilterfactory.h.
|
pure virtual |
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.
Implemented in GSmtp::FilterFactoryFileStore.