20 #ifndef __HYBRIDSERVER_H__
21 #define __HYBRIDSERVER_H__
24 #include "datastore.h"
25 #include "hybridparams.h"
26 #include "percyserver.h"
42 virtual bool handle_request_impl (std::istream &is, std::ostream &os,
43 nqueries_t num_queries);
48 virtual std::vector<BufferList> worker_query_parts (nqueries_t num_queries,
49 unsigned char * query);
53 virtual void combine_results (nqueries_t num_queries,
54 unsigned char * result, std::vector<unsigned char*> worker_results);
56 const HybridServerParams * params;
60 const AGServerParams& c_params;
Definition: percystats.h:66
A simple database object.
Definition: datastore.h:34
PercyStats * stats
Statistics collection object.
Definition: percyserver.h:141
An abstract base class for a PIR server.
Definition: percyserver.h:34
Definition: hybridserver.h:33
Server parameters.
Definition: percyparams.h:251
DataStore * datastore
The database used by the server.
Definition: percyserver.h:137