21 #ifndef G_SMTP_NETWORK_FILTER__H
22 #define G_SMTP_NETWORK_FILTER__H
44 bool server_side ,
const std::string & server_location ,
45 unsigned int connection_timeout ,
unsigned int response_timeout ) ;
51 virtual std::string
id()
const override ;
54 virtual bool simple()
const override ;
60 virtual void start(
const std::string & path )
override ;
63 virtual void cancel()
override ;
69 virtual std::string
response()
const override ;
72 virtual std::string
reason()
const override ;
75 virtual bool special()
const override ;
81 void clientEvent( std::string , std::string ) ;
88 unsigned int m_connection_timeout ;
89 unsigned int m_response_timeout ;
SMTP and message-store classes.
virtual void start(const std::string &path) override
Override from from GSmtp::Filter.
A Filter class that passes the name of a message file to a remote process over the network...
An abstract interface for handling exceptions thrown out of event-loop callbacks (socket events...
A class that holds a host/service name pair and the preferred address family (if any), and also the results of a name-to-address lookup, ie.
virtual std::string response() const override
Override from from GSmtp::Filter.
An interface for processing a message file through a filter.
virtual ~NetworkFilter()
Destructor.
virtual std::string reason() const override
Override from from GSmtp::Filter.
virtual bool simple() const override
Override from from GSmtp::Filter.
NetworkFilter(GNet::ExceptionHandler &, bool server_side, const std::string &server_location, unsigned int connection_timeout, unsigned int response_timeout)
Constructor.
virtual G::Slot::Signal1< int > & doneSignal() override
Override from from GSmtp::Filter.
A smart pointer class for GNet::HeapClient that keeps track of when the contained instance deletes it...
virtual void cancel() override
Override from from GSmtp::Filter.
virtual bool special() const override
Override from from GSmtp::Filter.
virtual bool abandoned() const override
Override from from GSmtp::Filter.
virtual std::string id() const override
Override from from GSmtp::Filter.