E-MailRelay
Static Public Member Functions | List of all members
GSmtp::FilterFactory Class Reference

A factory for message processors. More...

#include <gfilterfactory.h>

Static Public Member Functions

static unique_ptr< Filter > newFilter (GNet::ExceptionHandler &, bool server_side, const std::string &identifier, unsigned int timeout)
 Returns a Filter on the heap. More...
 
static std::string check (const std::string &identifier)
 Checks an identifier. More...
 

Detailed Description

A factory for message processors.

Definition at line 39 of file gfilterfactory.h.

Member Function Documentation

std::string GSmtp::FilterFactory::check ( const std::string &  identifier)
static

Checks an identifier.

Returns an empty string if okay, or a diagnostic reason string.

Definition at line 32 of file gfilterfactory.cpp.

unique_ptr< GSmtp::Filter > GSmtp::FilterFactory::newFilter ( GNet::ExceptionHandler &  eh,
bool  server_side,
const std::string &  identifier,
unsigned int  timeout 
)
static

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.

Definition at line 37 of file gfilterfactory.cpp.


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