19 #ifndef __NULLCLIENT_H__
20 #define __NULLCLIENT_H__
23 #include "percyclient.h"
46 virtual void encode_request_impl (nqueries_t request_identifier);
47 virtual dbsize_t send_request_impl (nqueries_t request_identifier,
48 vector<ostream*> &osvec,
bool send_num_queries =
true);
49 virtual dbsize_t receive_replies_impl (nqueries_t request_identifier,
50 vector<istream*> &isvec);
51 virtual nqueries_t process_replies_impl (nservers_t h,
52 vector<vector<PercyResult> >& results);
54 unsigned char * randbuf;
55 nqueries_t num_to_process;
NullClient(const PercyClientParams *params, nservers_t num_servers)
Constructor.
Client parameters.
Definition: percyparams.h:189
virtual ~NullClient()
Destructor.
nservers_t num_servers
The number of servers.
Definition: percyclient.h:183
An abstract base class for a protocol's parameters.
Definition: percyparams.h:80
A PIR client that does nothing except send random data to the servers and receive the responses...
Definition: nullclient.h:31
An abstract base class for a PIR client.
Definition: percyclient.h:35
Defines the basic structure of protocol parameters (PercyParams), client parameters (PercyClientParam...