21 #ifndef XAPIAN_INCLUDED_PROGCLIENT_H
22 #define XAPIAN_INCLUDED_PROGCLIENT_H
24 #include <sys/types.h>
63 const std::string &args,
81 const std::string &args);
93 const std::string &arg,
Implementation of RemoteDatabase using a spawned server.
void operator=(const ProgClient &)
Don't allow assignment.
ProgClient(const ProgClient &)
Don't allow copying.
pid_t child
Process id of the child process.
static std::string get_progcontext(const std::string &progname, const std::string &args)
Generate context string for Xapian::Error exception objects.
static int run_program(const std::string &progname, const std::string &args, pid_t &child)
Start the child process.
RemoteDatabase is the baseclass for remote database implementations.
double timeout
The timeout value used in network communications, in seconds.
RemoteDatabase is the baseclass for remote database implementations.