21#ifndef G_NETWORK_FILTER_H
22#define G_NETWORK_FILTER_H
47 const Filter::Config & ,
const std::string & server_location ) ;
54 std::string id()
const override ;
55 bool quiet()
const override ;
58 void cancel()
override ;
59 Result result()
const override ;
60 std::string response()
const override ;
61 int responseCode()
const override ;
62 std::string reason()
const override ;
63 bool special()
const override ;
73 void clientEvent(
const std::string & ,
const std::string & ,
const std::string & ) ;
74 void sendResult(
const std::string & ) ;
76 std::pair<std::string,int> responsePair()
const ;
85 unsigned int m_connection_timeout ;
86 unsigned int m_response_timeout ;
88 Result m_result {Result::fail} ;
A Filter class that passes the name of a message file to a remote network server.
NetworkFilter(GNet::EventState, GStore::FileStore &, Filter::Type, const Filter::Config &, const std::string &server_location)
Constructor.
~NetworkFilter() override
Destructor.
A lightweight object containing an ExceptionHandler pointer, optional ExceptionSource pointer and opt...
An abstract interface for handling exceptions thrown out of event-loop callbacks (socket/future event...
A mixin base class that identifies the source of an exception when delivered to GNet::ExceptionHandle...
A class that represents the remote target for out-going client connections.
A timer class template in which the timeout is delivered to the specified method.
An interface for processing a message file through a filter.
A concrete implementation of the MessageStore interface dealing in paired flat files.
A somewhat opaque identifer for a GStore::MessageStore message id.
A class template like a simplified c++17 std::optional.