1 #ifndef __HYBRIDCLIENT_H__
2 #define __HYBRIDCLIENT_H__
5 #include "percyclient.h"
6 #include "hybridparams.h"
14 nservers_t num_servers, nservers_t
t, sid_t * sids = NULL,
20 const HybridClientParams * params;
24 virtual dbsize_t send_request_impl (nqueries_t request_identifier,
25 vector<ostream*> &osvec);
27 vector<istream*> &isvec);
29 vector<vector<PercyResult> >& results);
31 nservers_t num_servers;
35 const AGClientParams& c_params;
42 map<nqueries_t, nqueries_t> it_req_ids;
43 map<nqueries_t, nqueries_t> c_req_ids;
46 std::set<nqueries_t> unprocessed;
Client parameters.
Definition: percyparams.h:189
Definition: percystats.h:66
nservers_t t
The privacy level.
Definition: percyclient.h:186
virtual dbsize_t receive_replies_impl(nqueries_t request_identifier, vector< istream * > &isvec)
Implementation for encode_request().
Definition: hybridclient.h:11
virtual void encode_request_impl(nqueries_t request_identifier)
Implementation for encode_request().
An abstract base class for a PIR client.
Definition: percyclient.h:35
virtual nqueries_t process_replies_impl(nservers_t h, vector< vector< PercyResult > > &results)
Implementation for encode_request().