A Processor class that passes the body of a message file to a remote process over the network and stores the response back into the file. More...
#include <gspamprocessor.h>
Public Member Functions | |
| SpamProcessor (const std::string &, unsigned int connection_timeout, unsigned int response_timeout) | |
| Constructor. More... | |
| virtual | ~SpamProcessor () |
| Destructor. More... | |
| virtual G::Signal1< bool > & | doneSignal () |
| Final override from GSmtp::Processor. More... | |
| virtual void | start (const std::string &path) |
| Final override from GSmtp::Processor. More... | |
| virtual void | abort () |
| Final override from GSmtp::Processor. More... | |
| virtual std::string | text () const |
| Final override from GSmtp::Processor. More... | |
| virtual bool | cancelled () const |
| Final override from GSmtp::Processor. More... | |
| virtual bool | repoll () const |
| Final override from GSmtp::Processor. More... | |
Public Member Functions inherited from GSmtp::Processor | |
| virtual | ~Processor () |
| Destructor. More... | |
A Processor class that passes the body of a message file to a remote process over the network and stores the response back into the file.
It looks for a spam header line in the resulting file to determine the overall result.
Definition at line 43 of file gspamprocessor.h.
| GSmtp::SpamProcessor::SpamProcessor | ( | const std::string & | server, |
| unsigned int | connection_timeout, | ||
| unsigned int | response_timeout | ||
| ) |
|
virtual |
Destructor.
Definition at line 35 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 78 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 58 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 73 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 63 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 40 of file gspamprocessor.cpp.
|
virtual |
Final override from GSmtp::Processor.
Implements GSmtp::Processor.
Definition at line 68 of file gspamprocessor.cpp.
1.8.9.1